#include <EditationWindowCanvas.h>
Inheritance diagram for GUI::EditationWindowCanvas:
Public Member Functions | |
virtual void | OnOkButton (wxCommandEvent &event) |
EditationWindowCanvas (wxWindow *parent, ConfigCanvas &editedConfig, const string &windowTitle="Simulation settings") | |
Constructor. | |
Protected Member Functions | |
virtual void | CreateBasicForm () |
Creates basic form (simulation name etc.). | |
virtual bool | SaveConfig () |
Saves edited info into config. | |
string | GetSimulationName () const |
Returns simulation name. | |
Private Types | |
ID_SimulationName = 13000 | |
ID_SimulationNameText | |
enum | { ID_SimulationName = 13000, ID_SimulationNameText } |
Event ID's. More... | |
Private Attributes | |
ConfigCanvas & | config |
Config that will be edited. | |
wxTextCtrl * | simulationName |
Simulation name. |
GUI::EditationWindowCanvas::EditationWindowCanvas | ( | wxWindow * | parent, | |
ConfigCanvas & | editedConfig, | |||
const string & | windowTitle = "Simulation settings" | |||
) |
Constructor.
parent | Parent window | |
editedConfig | Config that wil be edited | |
windowTitle | Title of the window |
void GUI::EditationWindowCanvas::CreateBasicForm | ( | ) | [protected, virtual] |
string GUI::EditationWindowCanvas::GetSimulationName | ( | ) | const [inline, protected] |
Returns simulation name.
void GUI::EditationWindowCanvas::OnOkButton | ( | wxCommandEvent & | event | ) | [virtual] |
Implements GUI::EditationWindowBase.
bool GUI::EditationWindowCanvas::SaveConfig | ( | ) | [protected, virtual] |
Saves edited info into config.
Implements GUI::EditationWindowBase.
ConfigCanvas& GUI::EditationWindowCanvas::config [private] |
wxTextCtrl* GUI::EditationWindowCanvas::simulationName [private] |
Simulation name.