YATiSh
Yet Another TIme SHeet
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
yatishDlgName Class Reference

#include <yatishDlgName.h>

Collaboration diagram for yatishDlgName:
Collaboration graph
[legend]

Public Member Functions

 yatishDlgName (yatishDBsqlite *, tableID, long)
 This constructor initializes the dialog box with data from the SQL record identified by sql_id. More...
 
 yatishDlgName (yatishDBsqlite *, tableID)
 The dialog box is initially empty and only writes NEW records (the SAVE button is cancelled). More...
 
 ~yatishDlgName ()
 

Private Member Functions

void BuildContent ()
 
void OnButtonSaveClick (wxCommandEvent &event)
 
void OnButtonNewClick (wxCommandEvent &event)
 

Private Attributes

wxButton * buttonSave
 
wxStaticBoxSizer * staticBoxSizer
 
wxTextCtrl * textCtrl
 
yatishDBsqlitepdb
 
tableID tid
 
long id
 
wxString name
 

Static Private Attributes

static const long idTextCtrl = wxNewId()
 

Detailed Description

Definition at line 18 of file yatishDlgName.h.

Constructor & Destructor Documentation

◆ yatishDlgName() [1/2]

yatishDlgName::yatishDlgName ( yatishDBsqlite p_db,
tableID  t_id,
long  sql_id 
)

This constructor initializes the dialog box with data from the SQL record identified by sql_id.

Definition at line 23 of file yatishDlgName.cpp.

◆ yatishDlgName() [2/2]

yatishDlgName::yatishDlgName ( yatishDBsqlite p_db,
tableID  t_id 
)

The dialog box is initially empty and only writes NEW records (the SAVE button is cancelled).

Definition at line 35 of file yatishDlgName.cpp.

◆ ~yatishDlgName()

yatishDlgName::~yatishDlgName ( )

Definition at line 81 of file yatishDlgName.cpp.

Member Function Documentation

◆ BuildContent()

void yatishDlgName::BuildContent ( )
private

Definition at line 47 of file yatishDlgName.cpp.

◆ OnButtonNewClick()

void yatishDlgName::OnButtonNewClick ( wxCommandEvent &  event)
private

Definition at line 94 of file yatishDlgName.cpp.

◆ OnButtonSaveClick()

void yatishDlgName::OnButtonSaveClick ( wxCommandEvent &  event)
private

Definition at line 86 of file yatishDlgName.cpp.

Member Data Documentation

◆ buttonSave

wxButton* yatishDlgName::buttonSave
private

Definition at line 28 of file yatishDlgName.h.

◆ id

long yatishDlgName::id
private

Definition at line 34 of file yatishDlgName.h.

◆ idTextCtrl

const long yatishDlgName::idTextCtrl = wxNewId()
staticprivate

Definition at line 25 of file yatishDlgName.h.

◆ name

wxString yatishDlgName::name
private

Definition at line 35 of file yatishDlgName.h.

◆ pdb

yatishDBsqlite* yatishDlgName::pdb
private

Definition at line 32 of file yatishDlgName.h.

◆ staticBoxSizer

wxStaticBoxSizer* yatishDlgName::staticBoxSizer
private

Definition at line 29 of file yatishDlgName.h.

◆ textCtrl

wxTextCtrl* yatishDlgName::textCtrl
private

Definition at line 30 of file yatishDlgName.h.

◆ tid

tableID yatishDlgName::tid
private

Definition at line 33 of file yatishDlgName.h.


The documentation for this class was generated from the following files: