YATiSh
Yet Another TIme SHeet
src
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
:
20
yatishDlgName
(
yatishDBsqlite
*,
tableID
,
long
);
21
yatishDlgName
(
yatishDBsqlite
*,
tableID
);
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
//*)
32
yatishDBsqlite
*
pdb
;
33
tableID
tid
;
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
yatishDBsqlite
Interacts with yatish tables in a SQLite database.
Definition:
yatishDBsqlite.h:40
yatishDlgName
Definition:
yatishDlgName.h:18
yatishDlgName::textCtrl
wxTextCtrl * textCtrl
Definition:
yatishDlgName.h:30
yatishDlgName::OnButtonNewClick
void OnButtonNewClick(wxCommandEvent &event)
Definition:
yatishDlgName.cpp:94
yatishDlgName::pdb
yatishDBsqlite * pdb
Definition:
yatishDlgName.h:32
yatishDlgName::buttonSave
wxButton * buttonSave
Definition:
yatishDlgName.h:28
yatishDlgName::tid
tableID tid
Definition:
yatishDlgName.h:33
yatishDlgName::OnButtonSaveClick
void OnButtonSaveClick(wxCommandEvent &event)
Definition:
yatishDlgName.cpp:86
yatishDlgName::id
long id
Definition:
yatishDlgName.h:34
yatishDlgName::idTextCtrl
static const long idTextCtrl
Definition:
yatishDlgName.h:25
yatishDlgName::yatishDlgName
yatishDlgName(yatishDBsqlite *, tableID, long)
This constructor initializes the dialog box with data from the SQL record identified by sql_id.
Definition:
yatishDlgName.cpp:23
yatishDlgName::staticBoxSizer
wxStaticBoxSizer * staticBoxSizer
Definition:
yatishDlgName.h:29
yatishDlgName::BuildContent
void BuildContent()
Definition:
yatishDlgName.cpp:47
yatishDlgName::~yatishDlgName
~yatishDlgName()
Definition:
yatishDlgName.cpp:81
yatishDlgName::name
wxString name
Definition:
yatishDlgName.h:35
tableID
tableID
Definition:
yatishDB.h:13
yatishDBsqlite.h
Generated by
1.9.1