OpenASIP
2.0
|
#include <OSEdAboutDialog.hh>
Public Member Functions | |
OSEdAboutDialog (wxWindow *parent) | |
virtual | ~OSEdAboutDialog () |
Private Types | |
enum | { ID_ABOUT_TEXT = 11000, ID_LINE } |
Private Member Functions | |
OSEdAboutDialog (const OSEdAboutDialog &) | |
Copying not allowed. More... | |
OSEdAboutDialog & | operator= (const OSEdAboutDialog &) |
Assignment not allowed. More... | |
wxSizer * | createContents (wxWindow *parent, bool call_fit, bool set_sizer) |
void | setTexts () |
About dialog of the application.
Definition at line 41 of file OSEdAboutDialog.hh.
|
private |
|
explicit |
Constructor.
parent | Parent window. |
Definition at line 56 of file OSEdAboutDialog.cc.
References createContents(), and setTexts().
|
virtual |
Destructor.
Definition at line 68 of file OSEdAboutDialog.cc.
References DialogPosition::DIALOG_ABOUT, and DialogPosition::setPosition().
|
private |
Copying not allowed.
|
private |
Creates the contents of the dialog.
parent | Parent window. |
call_fit | If true fits the contents inside the dialog. |
set_sizer | If true, sets the sizer as dialog contents. |
Definition at line 106 of file OSEdAboutDialog.cc.
References OSEdConstants::APPLICATION_NAME, Environment::bitmapsDirPath(), FileSystem::DIRECTORY_SEPARATOR, ID_ABOUT_TEXT, OSEdConstants::LOGO_NAME, OSEdConstants::OSED_COPYRIGHT, WxConversion::toString(), WxConversion::toWxString(), and TRUE.
Referenced by OSEdAboutDialog().
|
private |
Assignment not allowed.
|
private |
Sets the texts for the dialog.
Definition at line 79 of file OSEdAboutDialog.cc.
References ID_ABOUT_TEXT, OSEdTextGenerator::instance(), GUITextGenerator::instance(), WidgetTools::setLabel(), Texts::TextGenerator::text(), WxConversion::toWxString(), OSEdTextGenerator::TXT_ABOUT, OSEdTextGenerator::TXT_ABOUT_DIALOG_TITLE, and GUITextGenerator::TXT_BUTTON_OK.
Referenced by OSEdAboutDialog().