YATISH
Yet Another TIme SHeet
/home/nicolas/sources/yatish/yatishSettings.h
Go to the documentation of this file.
1 #ifndef YATISHSETTINGS_H
2 #define YATISHSETTINGS_H
3 
4 #ifndef WX_PRECOMP
5  //(*HeadersPCH(yatishSettings)
6  #include <wx/checkbox.h>
7  #include <wx/dialog.h>
8  #include <wx/sizer.h>
9  #include <wx/button.h>
10  #include <wx/stattext.h>
11  #include <wx/choice.h>
12  //*)
13 #endif
14 //(*Headers(yatishSettings)
15 #include <wx/spinctrl.h>
16 //*)
17 
18 #include <wx/config.h>
19 #include <wx/valgen.h>
20 
21 enum ChartLib {
24 };
25 
26 struct Settings {
28  int rowLimit;
30  Settings ();
31  ~Settings ();
32 };
33 
34 class yatishSettings: public wxDialog {
35  public:
36  yatishSettings ();
37  ~yatishSettings ();
38  void Set (Settings&);
39  void Get (Settings&);
40  private:
41  //(*Identifiers(yatishSettings)
42  static const long idCheckBoxLog;
43  static const long idCheckBoxLimit;
44  static const long idSpinCtrlLimit;
45  static const long idChoiceLib;
46  //*)
47  //(*Declarations(yatishSettings)
48  wxCheckBox* checkBoxLog;
49  wxCheckBox* checkBoxLimit;
50  wxChoice* choiceLib;
51  wxSpinCtrl* spinCtrlLimit;
52  //*)
54  int rowLimit, lib;
55  //(*Handlers(yatishSettings)
56  void OnCheckBoxLimitClick(wxCommandEvent& event);
57  //*)
58  DECLARE_EVENT_TABLE()
59 };
60 
61 #endif
static const long idCheckBoxLimit
wxCheckBox * checkBoxLog
wxCheckBox * checkBoxLimit
ChartLib
static const long idCheckBoxLog
ChartLib lib
static const long idSpinCtrlLimit
static const long idChoiceLib
wxChoice * choiceLib
bool log2text
bool limitRow
wxSpinCtrl * spinCtrlLimit