GUI::EditationWindowApplication Class Reference

Application editation window. More...

#include <EditationWindowApplication.h>

Inheritance diagram for GUI::EditationWindowApplication:

GUI::EditationWindowBase List of all members.

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

ConfigApplicationconfig
 Config that will be edited.
wxTextCtrl * palettePath
 Palette directory path.
wxTextCtrl * helpFilePath
 Help file path.

Detailed Description

Application editation window.


Member Enumeration Documentation

anonymous enum [private]

Event ID's.

Enumerator:
ID_PalettePath 
ID_PalettePathText 
ID_HelpFilePath 
ID_HelpFilePathText 


Constructor & Destructor Documentation

GUI::EditationWindowApplication::EditationWindowApplication ( wxWindow *  parent,
ConfigApplication editedConfig,
const string &  windowTitle = "Application settings" 
)

Constructor.

Parameters:
parent Parent window
editedConfig Config that wil be edited
windowTitle Title of the window


Member Function Documentation

void GUI::EditationWindowApplication::CreateBasicForm (  )  [protected, virtual]

Creates basic form (palette path etc.).

Implements GUI::EditationWindowBase.

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.

Returns:
Returns true if everything was saved ok

Implements GUI::EditationWindowBase.


Member Data Documentation

ConfigApplication& GUI::EditationWindowApplication::config [private]

Config that will be edited.

Reimplemented from GUI::EditationWindowBase.

wxTextCtrl* GUI::EditationWindowApplication::helpFilePath [private]

Help file path.

wxTextCtrl* GUI::EditationWindowApplication::palettePath [private]

Palette directory path.


The documentation for this class was generated from the following files:
Generated on Sun Apr 29 11:46:11 2007 for IPP/ICP2007 by  doxygen 1.4.7