1 #ifndef YATISHSETTINGS_H
2 #define YATISHSETTINGS_H
7 #include <wx/checkbox.h>
11 #include <wx/radiobut.h>
13 #include <wx/stattext.h>
14 #include <wx/textctrl.h>
18 #include <wx/notebook.h>
19 #include <wx/spinctrl.h>
103 DECLARE_EVENT_TABLE()
A dialog to modify YATiSh settings.
wxCheckBox * checkBoxMotto
static const long idCheckBoxPDFcharts
wxRadioButton * radioButtonName
static const long ID_STATICTEXT2
static const long idButtonLogo
static const long idChoiceLib
void OnCheckBoxLimitClick(wxCommandEvent &event)
static const long idPanelGUI
static const long idCheckBoxMotto
wxString companyName_or_logoPath
static const long idRadioButtonName
static const long ID_STATICTEXT1
void OnSpinCtrlLimitUpdate(wxUpdateUIEvent &)
wxSpinCtrl * spinCtrlLimit
void OnButtonLogoUpdate(wxUpdateUIEvent &)
static const long idCheckBoxLimit
static const long idRadioButtonLogo
static const long idNotebook
static const long ID_STATICTEXT3
wxStaticText * StaticText2
wxStaticText * StaticText3
static const long idSpinCtrlLimit
wxStaticText * StaticText4
static const long idTextCtrlMotto
wxTextCtrl * textCtrlName
wxCheckBox * checkBoxLimit
static const long idPanelPDF
wxTextCtrl * textCtrlMotto
static const long idTextCtrlName
static const long ID_STATICTEXT4
wxCheckBox * checkBoxPDFcharts
void OnTextCtrlMottoUpdate(wxUpdateUIEvent &)
static const long idCheckBoxLog
void OnButtonLogoClick(wxCommandEvent &event)
wxRadioButton * radioButtonLogo
wxStaticText * StaticText1
void OnTextCtrlNameUpdate(wxUpdateUIEvent &)
As its names implies: the class holding YATiSh settings.
int rowLimit
...to rowLimit lines.
bool pdfCharts
PDF charts?
wxString companyName_or_logoPath
Either the company name or its logo.
bool motto4pdf
Print the company motto in the PDF header?
ChartLib lib
A ChartLib enumerates the graphic libraries available for panel #3.
bool log2text
If True, error/warning messages will be forwarded to the bottom of the main frame.
~Settings()
The Settings destructor saves itself to the configuration file.
bool limitRow
If True, the listing in panel #2 will be limited...
wxString companyMotto
Slogan or short description of the purpose.
bool logo4pdf
If True the company name is replaced by its logo in the PDF header.
Settings()
The Settings constructor retrieves itself from the configuration file.
ChartLib
Same order as yatishSettings::choiceLib.