HatchKeeper  0.90
The Free Open-Source Egg Incubation Software
ScheduleDialog Class Reference

Manage Scheduled Hatch Dates. More...

Inheritance diagram for ScheduleDialog:

Public Member Functions

 ScheduleDialog (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Schedule A Hatch Date"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 500), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxRESIZE_BORDER)
 Constructor. More...
 

Private Member Functions

void OnAddButton (wxCommandEvent &)
 Adds A Schedule to the Database. More...
 
void OnRemvButton (wxCommandEvent &)
 Deletes Scheduled Date From Database. More...
 
void OnClose (wxCommandEvent &)
 Closes Dialog. More...
 
void OnSchListSelect (wxListEvent &)
 Fired When A Schedule Is Selected. More...
 
void OnSchListDESelect (wxListEvent &)
 Fired When A Schedule Is Unselected. More...
 
void SchCalendarChanged (wxCalendarEvent &)
 Fired When SchCalendar Month Changes. More...
 
void FilterChanged (wxCommandEvent &)
 Fired When Filter Dropdown Is Changed. More...
 
void SetSchAttr ()
 Shows The Selected Schedule In the Calendar. More...
 
void SetOtherAttr ()
 
void RemoveAllAttr ()
 Clear Dates From Calendar And Sets More. More...
 
void ShowAllEvents ()
 Marks Dates On Calendar. More...
 
void ShowSchedules (bool Scan)
 Shows Schedules In SchList. More...
 
void AddAttr (int Day)
 Sets Attributes For A Day In The Calendar. More...
 

Private Attributes

int SchAttr = -1
 
vector< int > MarkAttr
 
bool ShowHatch = true
 
bool ShowStart = true
 
bool ShowCandl = true
 
bool ShowLockd = true
 
wxGenericCalendarCtrl * SchCalendar
 
wxListView * SchList
 
wxChoice * SchFilterChoice
 
wxListCtrl * SchOtherEvtList
 
wxStaticLine * m_staticline1
 
wxButton * SchDelButton
 
wxTextCtrl * SchNameCtrl
 
wxStaticText * SchNameStat
 
wxDatePickerCtrl * SchDatePicker
 
wxStaticText * SchDateStat
 
wxStaticLine * m_staticline2
 
wxButton * SchAddButton
 
wxButton * SchCloseButton
 

Detailed Description

Manage Scheduled Hatch Dates.

Definition at line 157 of file ScheduleDialog.cpp.

Constructor & Destructor Documentation

◆ ScheduleDialog()

ScheduleDialog::ScheduleDialog ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxT("Schedule A Hatch Date"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(  500,500  ),
long  style = wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxRESIZE_BORDER 
)

Constructor.

Definition at line 204 of file ScheduleDialog.cpp.

Member Function Documentation

◆ AddAttr()

void ScheduleDialog::AddAttr ( int  Day)
private

Sets Attributes For A Day In The Calendar.

Definition at line 495 of file ScheduleDialog.cpp.

◆ FilterChanged()

void ScheduleDialog::FilterChanged ( wxCommandEvent &  )
private

Fired When Filter Dropdown Is Changed.

Definition at line 383 of file ScheduleDialog.cpp.

◆ OnAddButton()

void ScheduleDialog::OnAddButton ( wxCommandEvent &  )
private

Adds A Schedule to the Database.

Definition at line 308 of file ScheduleDialog.cpp.

◆ OnClose()

void ScheduleDialog::OnClose ( wxCommandEvent &  )
private

Closes Dialog.

Definition at line 337 of file ScheduleDialog.cpp.

◆ OnRemvButton()

void ScheduleDialog::OnRemvButton ( wxCommandEvent &  )
private

Deletes Scheduled Date From Database.

Definition at line 340 of file ScheduleDialog.cpp.

◆ OnSchListDESelect()

void ScheduleDialog::OnSchListDESelect ( wxListEvent &  )
private

Fired When A Schedule Is Unselected.

Definition at line 377 of file ScheduleDialog.cpp.

◆ OnSchListSelect()

void ScheduleDialog::OnSchListSelect ( wxListEvent &  )
private

Fired When A Schedule Is Selected.

Definition at line 371 of file ScheduleDialog.cpp.

◆ RemoveAllAttr()

void ScheduleDialog::RemoveAllAttr ( )
private

Clear Dates From Calendar And Sets More.

Definition at line 536 of file ScheduleDialog.cpp.

◆ SchCalendarChanged()

void ScheduleDialog::SchCalendarChanged ( wxCalendarEvent &  )
private

Fired When SchCalendar Month Changes.

Definition at line 426 of file ScheduleDialog.cpp.

◆ SetOtherAttr()

void ScheduleDialog::SetOtherAttr ( )
private

◆ SetSchAttr()

void ScheduleDialog::SetSchAttr ( )
private

Shows The Selected Schedule In the Calendar.

Definition at line 504 of file ScheduleDialog.cpp.

◆ ShowAllEvents()

void ScheduleDialog::ShowAllEvents ( )
private

Marks Dates On Calendar.

Definition at line 429 of file ScheduleDialog.cpp.

◆ ShowSchedules()

void ScheduleDialog::ShowSchedules ( bool  Scan)
private

Shows Schedules In SchList.

Definition at line 317 of file ScheduleDialog.cpp.

Member Data Documentation

◆ m_staticline1

wxStaticLine* ScheduleDialog::m_staticline1
private

Definition at line 174 of file ScheduleDialog.cpp.

◆ m_staticline2

wxStaticLine* ScheduleDialog::m_staticline2
private

Definition at line 180 of file ScheduleDialog.cpp.

◆ MarkAttr

vector<int> ScheduleDialog::MarkAttr
private

Definition at line 162 of file ScheduleDialog.cpp.

◆ SchAddButton

wxButton* ScheduleDialog::SchAddButton
private

Definition at line 181 of file ScheduleDialog.cpp.

◆ SchAttr

int ScheduleDialog::SchAttr = -1
private

Definition at line 161 of file ScheduleDialog.cpp.

◆ SchCalendar

wxGenericCalendarCtrl* ScheduleDialog::SchCalendar
private

Definition at line 170 of file ScheduleDialog.cpp.

◆ SchCloseButton

wxButton* ScheduleDialog::SchCloseButton
private

Definition at line 182 of file ScheduleDialog.cpp.

◆ SchDatePicker

wxDatePickerCtrl* ScheduleDialog::SchDatePicker
private

Definition at line 178 of file ScheduleDialog.cpp.

◆ SchDateStat

wxStaticText* ScheduleDialog::SchDateStat
private

Definition at line 179 of file ScheduleDialog.cpp.

◆ SchDelButton

wxButton* ScheduleDialog::SchDelButton
private

Definition at line 175 of file ScheduleDialog.cpp.

◆ SchFilterChoice

wxChoice* ScheduleDialog::SchFilterChoice
private

Definition at line 172 of file ScheduleDialog.cpp.

◆ SchList

wxListView* ScheduleDialog::SchList
private

Definition at line 171 of file ScheduleDialog.cpp.

◆ SchNameCtrl

wxTextCtrl* ScheduleDialog::SchNameCtrl
private

Definition at line 176 of file ScheduleDialog.cpp.

◆ SchNameStat

wxStaticText* ScheduleDialog::SchNameStat
private

Definition at line 177 of file ScheduleDialog.cpp.

◆ SchOtherEvtList

wxListCtrl* ScheduleDialog::SchOtherEvtList
private

Definition at line 173 of file ScheduleDialog.cpp.

◆ ShowCandl

bool ScheduleDialog::ShowCandl = true
private

Definition at line 167 of file ScheduleDialog.cpp.

◆ ShowHatch

bool ScheduleDialog::ShowHatch = true
private

Definition at line 165 of file ScheduleDialog.cpp.

◆ ShowLockd

bool ScheduleDialog::ShowLockd = true
private

Definition at line 168 of file ScheduleDialog.cpp.

◆ ShowStart

bool ScheduleDialog::ShowStart = true
private

Definition at line 166 of file ScheduleDialog.cpp.


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