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

#include <yatishDlgActivity.h>

Collaboration diagram for yatishDlgActivity:
Collaboration graph
[legend]

Public Member Functions

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

Private Member Functions

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

Private Attributes

wxButton * buttonNew
 
wxButton * buttonSave
 
wxChoice * choiceProject
 
wxChoice * choiceTask
 
wxChoice * choiceTool
 
wxStaticBoxSizer * staticBoxSizer
 
yatishDBsqlitepdb
 
long id
 
int project
 
int task
 
int tool
 

Static Private Attributes

static const long idChoiceProject = wxNewId()
 
static const long idChoiceTask = wxNewId()
 
static const long idChoiceTool = wxNewId()
 

Detailed Description

Definition at line 18 of file yatishDlgActivity.h.

Constructor & Destructor Documentation

◆ yatishDlgActivity() [1/2]

yatishDlgActivity::yatishDlgActivity ( 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 25 of file yatishDlgActivity.cpp.

◆ yatishDlgActivity() [2/2]

yatishDlgActivity::yatishDlgActivity ( yatishDBsqlite p_db)

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

Definition at line 44 of file yatishDlgActivity.cpp.

◆ ~yatishDlgActivity()

yatishDlgActivity::~yatishDlgActivity ( )

Definition at line 110 of file yatishDlgActivity.cpp.

Member Function Documentation

◆ BuildContent()

void yatishDlgActivity::BuildContent ( )
private

Definition at line 65 of file yatishDlgActivity.cpp.

◆ OnButtonNewClick()

void yatishDlgActivity::OnButtonNewClick ( wxCommandEvent &  event)
private

Definition at line 123 of file yatishDlgActivity.cpp.

◆ OnButtonSaveClick()

void yatishDlgActivity::OnButtonSaveClick ( wxCommandEvent &  event)
private

Definition at line 115 of file yatishDlgActivity.cpp.

Member Data Documentation

◆ buttonNew

wxButton* yatishDlgActivity::buttonNew
private

Definition at line 30 of file yatishDlgActivity.h.

◆ buttonSave

wxButton* yatishDlgActivity::buttonSave
private

Definition at line 31 of file yatishDlgActivity.h.

◆ choiceProject

wxChoice* yatishDlgActivity::choiceProject
private

Definition at line 32 of file yatishDlgActivity.h.

◆ choiceTask

wxChoice* yatishDlgActivity::choiceTask
private

Definition at line 33 of file yatishDlgActivity.h.

◆ choiceTool

wxChoice* yatishDlgActivity::choiceTool
private

Definition at line 34 of file yatishDlgActivity.h.

◆ id

long yatishDlgActivity::id
private

Definition at line 38 of file yatishDlgActivity.h.

◆ idChoiceProject

const long yatishDlgActivity::idChoiceProject = wxNewId()
staticprivate

Definition at line 25 of file yatishDlgActivity.h.

◆ idChoiceTask

const long yatishDlgActivity::idChoiceTask = wxNewId()
staticprivate

Definition at line 26 of file yatishDlgActivity.h.

◆ idChoiceTool

const long yatishDlgActivity::idChoiceTool = wxNewId()
staticprivate

Definition at line 27 of file yatishDlgActivity.h.

◆ pdb

yatishDBsqlite* yatishDlgActivity::pdb
private

Definition at line 37 of file yatishDlgActivity.h.

◆ project

int yatishDlgActivity::project
private

Definition at line 39 of file yatishDlgActivity.h.

◆ staticBoxSizer

wxStaticBoxSizer* yatishDlgActivity::staticBoxSizer
private

Definition at line 35 of file yatishDlgActivity.h.

◆ task

int yatishDlgActivity::task
private

Definition at line 39 of file yatishDlgActivity.h.

◆ tool

int yatishDlgActivity::tool
private

Definition at line 39 of file yatishDlgActivity.h.


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