YATiSh
Yet Another TIme SHeet
yatishDlgActivity.h
Go to the documentation of this file.
1 #ifndef YATISHDLGACTIVITY_H
2 #define YATISHDLGACTIVITY_H
3 
4 #ifndef WX_PRECOMP
5  //(*HeadersPCH(yatishDlgActivity)
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  //*)
12 #endif
13 //(*Headers(yatishDlgActivity)
14 //*)
15 
16 #include "yatishDBsqlite.h"
17 
18 class yatishDlgActivity: public wxDialog {
19  public:
23  private:
24  //(*Identifiers(yatishDlgActivity)
25  static const long idChoiceProject;
26  static const long idChoiceTask;
27  static const long idChoiceTool;
28  //*)
29  //(*Declarations(yatishDlgActivity)
30  wxButton* buttonNew;
31  wxButton* buttonSave;
32  wxChoice* choiceProject;
33  wxChoice* choiceTask;
34  wxChoice* choiceTool;
35  wxStaticBoxSizer* staticBoxSizer;
36  //*)
38  long id;
39  int project, task, tool;
40  void BuildContent ();
41  //(*Handlers(yatishDlgActivity)
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.
static const long idChoiceProject
static const long idChoiceTool
static const long idChoiceTask
wxChoice * choiceProject
yatishDlgActivity(yatishDBsqlite *, long)
This constructor initializes the dialog box with data from the SQL record identified by sql_id.
yatishDBsqlite * pdb
void OnButtonSaveClick(wxCommandEvent &event)
wxStaticBoxSizer * staticBoxSizer
void OnButtonNewClick(wxCommandEvent &event)