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

A Dialog For Adding Breeds. More...

Inheritance diagram for AddTypeDialog:

Public Member Functions

 AddTypeDialog (wxWindow *parent, wxWindowID id=500, const wxString &title=wxT(""), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU)
 Constructor. More...
 

Private Member Functions

void OnSaveButton (wxCommandEvent &)
 Adds A Type To The Database. More...
 
void OnCancelButton (wxCommandEvent &)
 Closes Dialog. More...
 

Private Attributes

wxTextCtrl * TypeNameCtrl
 
wxStaticText * TypeNameText
 
wxSpinCtrl * TypeDaySpin
 
wxStaticText * TypeDayText
 
wxButton * SaveButton
 
wxButton * CancelButton
 

Detailed Description

A Dialog For Adding Breeds.

A Dialog For Adding Types.

Definition at line 169 of file PrefDialog.cpp.

Constructor & Destructor Documentation

◆ AddTypeDialog()

AddTypeDialog::AddTypeDialog ( wxWindow *  parent,
wxWindowID  id = 500,
const wxString &  title = wxT(""),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU 
)

Constructor.

Definition at line 187 of file PrefDialog.cpp.

Member Function Documentation

◆ OnCancelButton()

void AddTypeDialog::OnCancelButton ( wxCommandEvent &  )
inlineprivate

Closes Dialog.

Definition at line 181 of file PrefDialog.cpp.

◆ OnSaveButton()

void AddTypeDialog::OnSaveButton ( wxCommandEvent &  )
private

Adds A Type To The Database.

Definition at line 241 of file PrefDialog.cpp.

Member Data Documentation

◆ CancelButton

wxButton* AddTypeDialog::CancelButton
private

Definition at line 177 of file PrefDialog.cpp.

◆ SaveButton

wxButton* AddTypeDialog::SaveButton
private

Definition at line 176 of file PrefDialog.cpp.

◆ TypeDaySpin

wxSpinCtrl* AddTypeDialog::TypeDaySpin
private

Definition at line 174 of file PrefDialog.cpp.

◆ TypeDayText

wxStaticText* AddTypeDialog::TypeDayText
private

Definition at line 175 of file PrefDialog.cpp.

◆ TypeNameCtrl

wxTextCtrl* AddTypeDialog::TypeNameCtrl
private

Definition at line 172 of file PrefDialog.cpp.

◆ TypeNameText

wxStaticText* AddTypeDialog::TypeNameText
private

Definition at line 173 of file PrefDialog.cpp.


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