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

#include <yatishDlgProject.h>

Collaboration diagram for yatishDlgProject:
Collaboration graph
[legend]

Public Member Functions

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

Private Member Functions

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

Private Attributes

wxButton * buttonNew
 
wxButton * buttonSave
 
wxChoice * choiceClient
 
wxStaticBoxSizer * staticBoxSizer
 
wxTextCtrl * textCtrlName
 
yatishDBsqlitepdb
 
long id
 
wxString name
 
int choice
 

Static Private Attributes

static const long idTextCtrlName = wxNewId()
 
static const long idChoiceClient = wxNewId()
 

Detailed Description

Definition at line 19 of file yatishDlgProject.h.

Constructor & Destructor Documentation

◆ yatishDlgProject() [1/2]

yatishDlgProject::yatishDlgProject ( yatishDBsqlite p_db,
long  sql_id 
)

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

Definition at line 24 of file yatishDlgProject.cpp.

◆ yatishDlgProject() [2/2]

yatishDlgProject::yatishDlgProject ( yatishDBsqlite p_db)

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

Definition at line 38 of file yatishDlgProject.cpp.

◆ ~yatishDlgProject()

yatishDlgProject::~yatishDlgProject ( )

Definition at line 94 of file yatishDlgProject.cpp.

Member Function Documentation

◆ BuildContent()

void yatishDlgProject::BuildContent ( )
private

Definition at line 54 of file yatishDlgProject.cpp.

◆ OnButtonNewClick()

void yatishDlgProject::OnButtonNewClick ( wxCommandEvent &  event)
private

Definition at line 107 of file yatishDlgProject.cpp.

◆ OnButtonSaveClick()

void yatishDlgProject::OnButtonSaveClick ( wxCommandEvent &  event)
private

Definition at line 99 of file yatishDlgProject.cpp.

Member Data Documentation

◆ buttonNew

wxButton* yatishDlgProject::buttonNew
private

Definition at line 30 of file yatishDlgProject.h.

◆ buttonSave

wxButton* yatishDlgProject::buttonSave
private

Definition at line 31 of file yatishDlgProject.h.

◆ choice

int yatishDlgProject::choice
private

Definition at line 39 of file yatishDlgProject.h.

◆ choiceClient

wxChoice* yatishDlgProject::choiceClient
private

Definition at line 32 of file yatishDlgProject.h.

◆ id

long yatishDlgProject::id
private

Definition at line 37 of file yatishDlgProject.h.

◆ idChoiceClient

const long yatishDlgProject::idChoiceClient = wxNewId()
staticprivate

Definition at line 27 of file yatishDlgProject.h.

◆ idTextCtrlName

const long yatishDlgProject::idTextCtrlName = wxNewId()
staticprivate

Definition at line 26 of file yatishDlgProject.h.

◆ name

wxString yatishDlgProject::name
private

Definition at line 38 of file yatishDlgProject.h.

◆ pdb

yatishDBsqlite* yatishDlgProject::pdb
private

Definition at line 36 of file yatishDlgProject.h.

◆ staticBoxSizer

wxStaticBoxSizer* yatishDlgProject::staticBoxSizer
private

Definition at line 33 of file yatishDlgProject.h.

◆ textCtrlName

wxTextCtrl* yatishDlgProject::textCtrlName
private

Definition at line 34 of file yatishDlgProject.h.


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