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