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

Manages App Settings. More...

Inheritance diagram for PrefDialog:

Public Member Functions

 PrefDialog (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Preferences"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(550, 550), long style=wxRESIZE_BORDER|wxCAPTION|wxSYSTEM_MENU)
 Constructor. More...
 

Protected Member Functions

void OnEditIncubators (wxCommandEvent &)
 
void OnEditTag1 (wxCommandEvent &)
 
void OnEditTag2 (wxCommandEvent &)
 
void OnEditTag3 (wxCommandEvent &)
 
void OnSaver (wxCommandEvent &)
 Saves Settings And Closes The Dialog. More...
 
void OnBreedSelect (wxListEvent &evt)
 Fired When Breed LeftClk. More...
 
void OnBreedUnselect (wxListEvent &evt)
 Fired When Breed LeftClk. More...
 
void OnAddBreed (wxCommandEvent &)
 Adds A Breed To The Database. More...
 
void OnRemvBreed (wxCommandEvent &)
 Deletes Selected Breed. More...
 
void ShowBreeds (bool Scan)
 Populates BreedList. More...
 
void OnTypeSelect (wxListEvent &evt)
 Fired When Type Selected. More...
 
void OnTypeUnselect (wxListEvent &evt)
 Fired When Type Unselected. More...
 
void OnAddTypeButton (wxCommandEvent &)
 Adds A Type To The Database. More...
 
void OnRemvTypeButton (wxCommandEvent &)
 Removes Selected Type From The Database. More...
 
void ShowTypes (bool Scan)
 Populates TypeList And BreedTypeChoice. More...
 
void ExportHatchKeeperData (wxCommandEvent &)
 Exports Batches, Groups, Types, Breeds, And Schedules. More...
 
void ExportDB (wxCommandEvent &)
 Saves A Copy Of The Database To The Selected Location. More...
 
void ImportDB (wxCommandEvent &)
 Imports A Database And Replaces Current Database. More...
 
void DeleteDB (wxCommandEvent &)
 Deletes Database, Creates New One, And Rescans Sample Stuff. More...
 
void RunDB (wxCommandEvent &)
 Asks For A SQL Command, Then Executes It Againt Database. More...
 
void ShowBackups (void)
 
void OnLangPath (wxFileDirPickerEvent &)
 

Protected Attributes

wxNotebook * GuiPanel
 
wxPanel * GeneralPanel
 
wxSpinCtrl * tillCandleSpinner
 
wxStaticText * tillCandleStat
 
wxSpinCtrl * lockdownSpinner
 
wxStaticText * lockdownStat
 
wxCheckBox * showSplashCheckbox
 
wxCheckBox * genNotifyCheckbox
 
wxCheckBox * clickNotifyCheckbox
 
wxCheckBox * dismissNotifyCheckbox
 
wxChoice * weightUnitChoice
 
wxStaticText * weightUnitStat
 
wxStaticLine * GenStatLine
 
wxStaticText * IncuStat
 
wxListView * IncubatorList
 
wxButton * IncubatorButton
 
wxButton * Tag1Button
 
wxButton * Tag2Button
 
wxButton * Tag3Button
 
wxStaticText * TagStat
 
wxListView * EggTagList
 
wxPanel * BirdTypePanel
 
wxButton * TypeAddButton
 
wxButton * TypeRemoveButton
 
wxListView * TypeList
 
wxPanel * BreedPanel
 
wxButton * BreedAddButton
 
wxButton * BreedRemoveButton
 
wxListView * BreedList
 
wxScrolledWindow * m_scrolledWindow1
 
wxStaticText * m_staticText33
 
wxStaticLine * m_staticline1
 
wxFilePickerCtrl * LangImport
 
wxStaticText * LangImportStat
 
wxChoice * DateFormat
 
wxStaticText * DateFormatStat
 
wxSpinCtrl * CalTextSizeSpin
 
wxStaticText * CalTextSizeStat
 
wxColourPickerCtrl * MainColorPick
 
wxColourPickerCtrl * CalBackPick
 
wxColourPickerCtrl * CalTextPick
 
wxColourPickerCtrl * ListBackPick
 
wxColourPickerCtrl * ListTextPick
 
wxColourPickerCtrl * StatisticsBackPick
 
wxColourPickerCtrl * StatisticsTextPick
 
wxColourPickerCtrl * DialogsBackPick
 
wxColourPickerCtrl * DialogsTextPick
 
wxColourPickerCtrl * remindBackPick
 
wxColourPickerCtrl * remindTextPick
 
wxStaticText * DialogsTextStat
 
wxStaticText * CalBackStat
 
wxStaticText * MainBackStat
 
wxStaticText * CalTextStat
 
wxStaticText * ListBackStat
 
wxStaticText * ListTextStat
 
wxStaticText * StatisticsBackStat
 
wxStaticText * StatisticsTextStat
 
wxStaticText * DialogsBackStat
 
wxStaticText * remindBackStat
 
wxStaticText * remindTextStat
 
wxButton * PrefCloseButton
 
wxPanel * DBPanel
 
wxButton * ExportDataButton
 
wxStaticText * ExportDataStat
 
wxButton * ExportDBButton
 
wxButton * ImportDBButton
 
wxButton * DeleteDBButton
 
wxButton * RunDBButton
 

Detailed Description

Manages App Settings.

Definition at line 399 of file PrefDialog.cpp.

Constructor & Destructor Documentation

◆ PrefDialog()

PrefDialog::PrefDialog ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxT("Preferences"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(550,550),
long  style = wxRESIZE_BORDER|wxCAPTION|wxSYSTEM_MENU 
)

Constructor.

Definition at line 506 of file PrefDialog.cpp.

Member Function Documentation

◆ DeleteDB()

void PrefDialog::DeleteDB ( wxCommandEvent &  )
protected

Deletes Database, Creates New One, And Rescans Sample Stuff.

Definition at line 1298 of file PrefDialog.cpp.

◆ ExportDB()

void PrefDialog::ExportDB ( wxCommandEvent &  )
protected

Saves A Copy Of The Database To The Selected Location.

Definition at line 1211 of file PrefDialog.cpp.

◆ ExportHatchKeeperData()

void PrefDialog::ExportHatchKeeperData ( wxCommandEvent &  )
protected

Exports Batches, Groups, Types, Breeds, And Schedules.

Definition at line 1182 of file PrefDialog.cpp.

◆ ImportDB()

void PrefDialog::ImportDB ( wxCommandEvent &  )
protected

Imports A Database And Replaces Current Database.

Definition at line 1244 of file PrefDialog.cpp.

◆ OnAddBreed()

void PrefDialog::OnAddBreed ( wxCommandEvent &  )
protected

Adds A Breed To The Database.

Definition at line 1132 of file PrefDialog.cpp.

◆ OnAddTypeButton()

void PrefDialog::OnAddTypeButton ( wxCommandEvent &  )
protected

Adds A Type To The Database.

Definition at line 1058 of file PrefDialog.cpp.

◆ OnBreedSelect()

void PrefDialog::OnBreedSelect ( wxListEvent &  evt)
protected

Fired When Breed LeftClk.

Definition at line 1126 of file PrefDialog.cpp.

◆ OnBreedUnselect()

void PrefDialog::OnBreedUnselect ( wxListEvent &  evt)
protected

Fired When Breed LeftClk.

Definition at line 1120 of file PrefDialog.cpp.

◆ OnEditIncubators()

void PrefDialog::OnEditIncubators ( wxCommandEvent &  )
protected

Definition at line 890 of file PrefDialog.cpp.

◆ OnEditTag1()

void PrefDialog::OnEditTag1 ( wxCommandEvent &  )
protected

Definition at line 897 of file PrefDialog.cpp.

◆ OnEditTag2()

void PrefDialog::OnEditTag2 ( wxCommandEvent &  )
protected

Definition at line 904 of file PrefDialog.cpp.

◆ OnEditTag3()

void PrefDialog::OnEditTag3 ( wxCommandEvent &  )
protected

Definition at line 911 of file PrefDialog.cpp.

◆ OnLangPath()

void PrefDialog::OnLangPath ( wxFileDirPickerEvent &  )
protected

Definition at line 1375 of file PrefDialog.cpp.

◆ OnRemvBreed()

void PrefDialog::OnRemvBreed ( wxCommandEvent &  )
protected

Deletes Selected Breed.

Definition at line 1161 of file PrefDialog.cpp.

◆ OnRemvTypeButton()

void PrefDialog::OnRemvTypeButton ( wxCommandEvent &  )
protected

Removes Selected Type From The Database.

Definition at line 1080 of file PrefDialog.cpp.

◆ OnSaver()

void PrefDialog::OnSaver ( wxCommandEvent &  )
protected

Saves Settings And Closes The Dialog.

Definition at line 919 of file PrefDialog.cpp.

◆ OnTypeSelect()

void PrefDialog::OnTypeSelect ( wxListEvent &  evt)
protected

Fired When Type Selected.

Definition at line 1074 of file PrefDialog.cpp.

◆ OnTypeUnselect()

void PrefDialog::OnTypeUnselect ( wxListEvent &  evt)
protected

Fired When Type Unselected.

Definition at line 1068 of file PrefDialog.cpp.

◆ RunDB()

void PrefDialog::RunDB ( wxCommandEvent &  )
protected

Asks For A SQL Command, Then Executes It Againt Database.

Definition at line 1328 of file PrefDialog.cpp.

◆ ShowBackups()

void PrefDialog::ShowBackups ( void  )
protected

◆ ShowBreeds()

void PrefDialog::ShowBreeds ( bool  Scan)
protected

Populates BreedList.

Definition at line 1142 of file PrefDialog.cpp.

◆ ShowTypes()

void PrefDialog::ShowTypes ( bool  Scan)
protected

Populates TypeList And BreedTypeChoice.

Definition at line 1103 of file PrefDialog.cpp.

Member Data Documentation

◆ BirdTypePanel

wxPanel* PrefDialog::BirdTypePanel
protected

Definition at line 424 of file PrefDialog.cpp.

◆ BreedAddButton

wxButton* PrefDialog::BreedAddButton
protected

Definition at line 429 of file PrefDialog.cpp.

◆ BreedList

wxListView* PrefDialog::BreedList
protected

Definition at line 431 of file PrefDialog.cpp.

◆ BreedPanel

wxPanel* PrefDialog::BreedPanel
protected

Definition at line 428 of file PrefDialog.cpp.

◆ BreedRemoveButton

wxButton* PrefDialog::BreedRemoveButton
protected

Definition at line 430 of file PrefDialog.cpp.

◆ CalBackPick

wxColourPickerCtrl* PrefDialog::CalBackPick
protected

Definition at line 444 of file PrefDialog.cpp.

◆ CalBackStat

wxStaticText* PrefDialog::CalBackStat
protected

Definition at line 456 of file PrefDialog.cpp.

◆ CalTextPick

wxColourPickerCtrl* PrefDialog::CalTextPick
protected

Definition at line 445 of file PrefDialog.cpp.

◆ CalTextSizeSpin

wxSpinCtrl* PrefDialog::CalTextSizeSpin
protected

Definition at line 440 of file PrefDialog.cpp.

◆ CalTextSizeStat

wxStaticText* PrefDialog::CalTextSizeStat
protected

Definition at line 441 of file PrefDialog.cpp.

◆ CalTextStat

wxStaticText* PrefDialog::CalTextStat
protected

Definition at line 458 of file PrefDialog.cpp.

◆ clickNotifyCheckbox

wxCheckBox* PrefDialog::clickNotifyCheckbox
protected

Definition at line 410 of file PrefDialog.cpp.

◆ DateFormat

wxChoice* PrefDialog::DateFormat
protected

Definition at line 438 of file PrefDialog.cpp.

◆ DateFormatStat

wxStaticText* PrefDialog::DateFormatStat
protected

Definition at line 439 of file PrefDialog.cpp.

◆ DBPanel

wxPanel* PrefDialog::DBPanel
protected

Definition at line 468 of file PrefDialog.cpp.

◆ DeleteDBButton

wxButton* PrefDialog::DeleteDBButton
protected

Definition at line 473 of file PrefDialog.cpp.

◆ DialogsBackPick

wxColourPickerCtrl* PrefDialog::DialogsBackPick
protected

Definition at line 450 of file PrefDialog.cpp.

◆ DialogsBackStat

wxStaticText* PrefDialog::DialogsBackStat
protected

Definition at line 463 of file PrefDialog.cpp.

◆ DialogsTextPick

wxColourPickerCtrl* PrefDialog::DialogsTextPick
protected

Definition at line 451 of file PrefDialog.cpp.

◆ DialogsTextStat

wxStaticText* PrefDialog::DialogsTextStat
protected

Definition at line 455 of file PrefDialog.cpp.

◆ dismissNotifyCheckbox

wxCheckBox* PrefDialog::dismissNotifyCheckbox
protected

Definition at line 411 of file PrefDialog.cpp.

◆ EggTagList

wxListView* PrefDialog::EggTagList
protected

Definition at line 422 of file PrefDialog.cpp.

◆ ExportDataButton

wxButton* PrefDialog::ExportDataButton
protected

Definition at line 469 of file PrefDialog.cpp.

◆ ExportDataStat

wxStaticText* PrefDialog::ExportDataStat
protected

Definition at line 470 of file PrefDialog.cpp.

◆ ExportDBButton

wxButton* PrefDialog::ExportDBButton
protected

Definition at line 471 of file PrefDialog.cpp.

◆ GeneralPanel

wxPanel* PrefDialog::GeneralPanel
protected

Definition at line 403 of file PrefDialog.cpp.

◆ genNotifyCheckbox

wxCheckBox* PrefDialog::genNotifyCheckbox
protected

Definition at line 409 of file PrefDialog.cpp.

◆ GenStatLine

wxStaticLine* PrefDialog::GenStatLine
protected

Definition at line 414 of file PrefDialog.cpp.

◆ GuiPanel

wxNotebook* PrefDialog::GuiPanel
protected

Definition at line 402 of file PrefDialog.cpp.

◆ ImportDBButton

wxButton* PrefDialog::ImportDBButton
protected

Definition at line 472 of file PrefDialog.cpp.

◆ IncubatorButton

wxButton* PrefDialog::IncubatorButton
protected

Definition at line 417 of file PrefDialog.cpp.

◆ IncubatorList

wxListView* PrefDialog::IncubatorList
protected

Definition at line 416 of file PrefDialog.cpp.

◆ IncuStat

wxStaticText* PrefDialog::IncuStat
protected

Definition at line 415 of file PrefDialog.cpp.

◆ LangImport

wxFilePickerCtrl* PrefDialog::LangImport
protected

Definition at line 436 of file PrefDialog.cpp.

◆ LangImportStat

wxStaticText* PrefDialog::LangImportStat
protected

Definition at line 437 of file PrefDialog.cpp.

◆ ListBackPick

wxColourPickerCtrl* PrefDialog::ListBackPick
protected

Definition at line 446 of file PrefDialog.cpp.

◆ ListBackStat

wxStaticText* PrefDialog::ListBackStat
protected

Definition at line 459 of file PrefDialog.cpp.

◆ ListTextPick

wxColourPickerCtrl* PrefDialog::ListTextPick
protected

Definition at line 447 of file PrefDialog.cpp.

◆ ListTextStat

wxStaticText* PrefDialog::ListTextStat
protected

Definition at line 460 of file PrefDialog.cpp.

◆ lockdownSpinner

wxSpinCtrl* PrefDialog::lockdownSpinner
protected

Definition at line 406 of file PrefDialog.cpp.

◆ lockdownStat

wxStaticText* PrefDialog::lockdownStat
protected

Definition at line 407 of file PrefDialog.cpp.

◆ m_scrolledWindow1

wxScrolledWindow* PrefDialog::m_scrolledWindow1
protected

Definition at line 433 of file PrefDialog.cpp.

◆ m_staticline1

wxStaticLine* PrefDialog::m_staticline1
protected

Definition at line 435 of file PrefDialog.cpp.

◆ m_staticText33

wxStaticText* PrefDialog::m_staticText33
protected

Definition at line 434 of file PrefDialog.cpp.

◆ MainBackStat

wxStaticText* PrefDialog::MainBackStat
protected

Definition at line 457 of file PrefDialog.cpp.

◆ MainColorPick

wxColourPickerCtrl* PrefDialog::MainColorPick
protected

Definition at line 443 of file PrefDialog.cpp.

◆ PrefCloseButton

wxButton* PrefDialog::PrefCloseButton
protected

Definition at line 466 of file PrefDialog.cpp.

◆ remindBackPick

wxColourPickerCtrl* PrefDialog::remindBackPick
protected

Definition at line 452 of file PrefDialog.cpp.

◆ remindBackStat

wxStaticText* PrefDialog::remindBackStat
protected

Definition at line 464 of file PrefDialog.cpp.

◆ remindTextPick

wxColourPickerCtrl* PrefDialog::remindTextPick
protected

Definition at line 453 of file PrefDialog.cpp.

◆ remindTextStat

wxStaticText* PrefDialog::remindTextStat
protected

Definition at line 465 of file PrefDialog.cpp.

◆ RunDBButton

wxButton* PrefDialog::RunDBButton
protected

Definition at line 474 of file PrefDialog.cpp.

◆ showSplashCheckbox

wxCheckBox* PrefDialog::showSplashCheckbox
protected

Definition at line 408 of file PrefDialog.cpp.

◆ StatisticsBackPick

wxColourPickerCtrl* PrefDialog::StatisticsBackPick
protected

Definition at line 448 of file PrefDialog.cpp.

◆ StatisticsBackStat

wxStaticText* PrefDialog::StatisticsBackStat
protected

Definition at line 461 of file PrefDialog.cpp.

◆ StatisticsTextPick

wxColourPickerCtrl* PrefDialog::StatisticsTextPick
protected

Definition at line 449 of file PrefDialog.cpp.

◆ StatisticsTextStat

wxStaticText* PrefDialog::StatisticsTextStat
protected

Definition at line 462 of file PrefDialog.cpp.

◆ Tag1Button

wxButton* PrefDialog::Tag1Button
protected

Definition at line 418 of file PrefDialog.cpp.

◆ Tag2Button

wxButton* PrefDialog::Tag2Button
protected

Definition at line 419 of file PrefDialog.cpp.

◆ Tag3Button

wxButton* PrefDialog::Tag3Button
protected

Definition at line 420 of file PrefDialog.cpp.

◆ TagStat

wxStaticText* PrefDialog::TagStat
protected

Definition at line 421 of file PrefDialog.cpp.

◆ tillCandleSpinner

wxSpinCtrl* PrefDialog::tillCandleSpinner
protected

Definition at line 404 of file PrefDialog.cpp.

◆ tillCandleStat

wxStaticText* PrefDialog::tillCandleStat
protected

Definition at line 405 of file PrefDialog.cpp.

◆ TypeAddButton

wxButton* PrefDialog::TypeAddButton
protected

Definition at line 425 of file PrefDialog.cpp.

◆ TypeList

wxListView* PrefDialog::TypeList
protected

Definition at line 427 of file PrefDialog.cpp.

◆ TypeRemoveButton

wxButton* PrefDialog::TypeRemoveButton
protected

Definition at line 426 of file PrefDialog.cpp.

◆ weightUnitChoice

wxChoice* PrefDialog::weightUnitChoice
protected

Definition at line 412 of file PrefDialog.cpp.

◆ weightUnitStat

wxStaticText* PrefDialog::weightUnitStat
protected

Definition at line 413 of file PrefDialog.cpp.


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