YATiSh
Yet Another TIme SHeet
yatishDlgName.h
Go to the documentation of this file.
1 #ifndef YATISHDLGNAME_H
2 #define YATISHDLGNAME_H
3 
4 #ifndef WX_PRECOMP
5  //(*HeadersPCH(yatishDlgName)
6  #include <wx/button.h>
7  #include <wx/dialog.h>
8  #include <wx/sizer.h>
9  #include <wx/stattext.h>
10  #include <wx/textctrl.h>
11  //*)
12 #endif
13 //(*Headers(yatishDlgName)
14 //*)
15 
16 #include "yatishDBsqlite.h"
17 
18 class yatishDlgName : public wxDialog {
19  public:
22  ~yatishDlgName ();
23  private:
24  //(*Identifiers(yatishDlgName)
25  static const long idTextCtrl;
26  //*)
27  //(*Declarations(yatishDlgName)
28  wxButton* buttonSave;
29  wxStaticBoxSizer* staticBoxSizer;
30  wxTextCtrl* textCtrl;
31  //*)
34  long id;
35  wxString name;
36  void BuildContent ();
37  //(*Handlers(yatishDlgName)
38  void OnButtonSaveClick(wxCommandEvent& event);
39  void OnButtonNewClick(wxCommandEvent& event);
40  //*)
41  DECLARE_EVENT_TABLE()
42 };
43 
44 #endif
Interacts with yatish tables in a SQLite database.
wxTextCtrl * textCtrl
Definition: yatishDlgName.h:30
void OnButtonNewClick(wxCommandEvent &event)
yatishDBsqlite * pdb
Definition: yatishDlgName.h:32
wxButton * buttonSave
Definition: yatishDlgName.h:28
void OnButtonSaveClick(wxCommandEvent &event)
static const long idTextCtrl
Definition: yatishDlgName.h:25
yatishDlgName(yatishDBsqlite *, tableID, long)
This constructor initializes the dialog box with data from the SQL record identified by sql_id.
wxStaticBoxSizer * staticBoxSizer
Definition: yatishDlgName.h:29
wxString name
Definition: yatishDlgName.h:35
tableID
Definition: yatishDB.h:13