#include <EditationWindowApplication.h>
Inheritance diagram for GUI::EditationWindowApplication:
Public Member Functions | |
virtual void | OnOkButton (wxCommandEvent &event) |
EditationWindowApplication (wxWindow *parent, ConfigApplication &editedConfig, const string &windowTitle="Application settings") | |
Constructor. | |
Protected Member Functions | |
virtual void | CreateBasicForm () |
Creates basic form (palette path etc.). | |
virtual bool | SaveConfig () |
Saves edited info into config. | |
string | GetPalettePath () const |
Returns palette path. | |
string | GetHelpFilePath () const |
Returns help file path. | |
Private Types | |
ID_PalettePath = 12000 | |
ID_PalettePathText | |
ID_HelpFilePath | |
ID_HelpFilePathText | |
enum | { ID_PalettePath = 12000, ID_PalettePathText, ID_HelpFilePath, ID_HelpFilePathText } |
Event ID's. More... | |
Private Attributes | |
ConfigApplication & | config |
Config that will be edited. | |
wxTextCtrl * | palettePath |
Palette directory path. | |
wxTextCtrl * | helpFilePath |
Help file path. |
anonymous enum [private] |
GUI::EditationWindowApplication::EditationWindowApplication | ( | wxWindow * | parent, | |
ConfigApplication & | editedConfig, | |||
const string & | windowTitle = "Application settings" | |||
) |
Constructor.
parent | Parent window | |
editedConfig | Config that wil be edited | |
windowTitle | Title of the window |
void GUI::EditationWindowApplication::CreateBasicForm | ( | ) | [protected, virtual] |
string GUI::EditationWindowApplication::GetHelpFilePath | ( | ) | const [inline, protected] |
Returns help file path.
string GUI::EditationWindowApplication::GetPalettePath | ( | ) | const [inline, protected] |
Returns palette path.
void GUI::EditationWindowApplication::OnOkButton | ( | wxCommandEvent & | event | ) | [virtual] |
Implements GUI::EditationWindowBase.
bool GUI::EditationWindowApplication::SaveConfig | ( | ) | [protected, virtual] |
Saves edited info into config.
Implements GUI::EditationWindowBase.
wxTextCtrl* GUI::EditationWindowApplication::helpFilePath [private] |
Help file path.
wxTextCtrl* GUI::EditationWindowApplication::palettePath [private] |
Palette directory path.