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

A Dialog For Viewing Graph Stats. More...

Inheritance diagram for GraphDialog:

Public Member Functions

 GraphDialog (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(1000, 650), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 Constructor. More...
 

Protected Member Functions

void OnModeChoice (wxCommandEvent &)
 
void OnListSelect (wxListEvent &evt)
 
void OnGraphRefresh (wxCommandEvent &)
 Redraws The Graph When The Refresh Button Is Clicked. More...
 
void OnGraphSave (wxCommandEvent &)
 Saves The Graph To A PNG File. More...
 
void OnGraphClose (wxCommandEvent &)
 Closes Dialog. More...
 
void FillGraphList (int a)
 Populates GraphList. More...
 
vector< int > GroupAverage (int a)
 Returns An Array Of Group Averages. More...
 

Protected Attributes

wxChartPanel * GraphChartPanel
 
wxStaticLine * m_staticline1
 
wxListView * GraphList
 
wxChoice * GraphModeChoice
 
wxStaticText * GraphModeStat
 
wxButton * GraphRefreshButton
 
wxButton * GraphSaveButton
 
wxButton * GraphCloseButton
 
wxCheckBox * BlueCheckBox
 
wxCheckBox * YellowCheckBox
 
wxCheckBox * RedCheckBox
 
wxCheckBox * GreenCheckBox
 

Detailed Description

A Dialog For Viewing Graph Stats.

Definition at line 28 of file GraphDialog.cpp.

Constructor & Destructor Documentation

◆ GraphDialog()

GraphDialog::GraphDialog ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( 1000,650 ),
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER 
)

Constructor.

Definition at line 58 of file GraphDialog.cpp.

Member Function Documentation

◆ FillGraphList()

void GraphDialog::FillGraphList ( int  a)
protected

Populates GraphList.

Definition at line 438 of file GraphDialog.cpp.

◆ GroupAverage()

vector< int > GraphDialog::GroupAverage ( int  a)
protected

Returns An Array Of Group Averages.

Definition at line 465 of file GraphDialog.cpp.

◆ OnGraphClose()

void GraphDialog::OnGraphClose ( wxCommandEvent &  )
protected

Closes Dialog.

Definition at line 435 of file GraphDialog.cpp.

◆ OnGraphRefresh()

void GraphDialog::OnGraphRefresh ( wxCommandEvent &  )
protected

Redraws The Graph When The Refresh Button Is Clicked.

Definition at line 202 of file GraphDialog.cpp.

◆ OnGraphSave()

void GraphDialog::OnGraphSave ( wxCommandEvent &  )
protected

Saves The Graph To A PNG File.

Definition at line 401 of file GraphDialog.cpp.

◆ OnListSelect()

void GraphDialog::OnListSelect ( wxListEvent &  evt)
protected

Definition at line 179 of file GraphDialog.cpp.

◆ OnModeChoice()

void GraphDialog::OnModeChoice ( wxCommandEvent &  )
protected

Definition at line 163 of file GraphDialog.cpp.

Member Data Documentation

◆ BlueCheckBox

wxCheckBox* GraphDialog::BlueCheckBox
protected

Definition at line 39 of file GraphDialog.cpp.

◆ GraphChartPanel

wxChartPanel* GraphDialog::GraphChartPanel
protected

Definition at line 31 of file GraphDialog.cpp.

◆ GraphCloseButton

wxButton* GraphDialog::GraphCloseButton
protected

Definition at line 38 of file GraphDialog.cpp.

◆ GraphList

wxListView* GraphDialog::GraphList
protected

Definition at line 33 of file GraphDialog.cpp.

◆ GraphModeChoice

wxChoice* GraphDialog::GraphModeChoice
protected

Definition at line 34 of file GraphDialog.cpp.

◆ GraphModeStat

wxStaticText* GraphDialog::GraphModeStat
protected

Definition at line 35 of file GraphDialog.cpp.

◆ GraphRefreshButton

wxButton* GraphDialog::GraphRefreshButton
protected

Definition at line 36 of file GraphDialog.cpp.

◆ GraphSaveButton

wxButton* GraphDialog::GraphSaveButton
protected

Definition at line 37 of file GraphDialog.cpp.

◆ GreenCheckBox

wxCheckBox* GraphDialog::GreenCheckBox
protected

Definition at line 42 of file GraphDialog.cpp.

◆ m_staticline1

wxStaticLine* GraphDialog::m_staticline1
protected

Definition at line 32 of file GraphDialog.cpp.

◆ RedCheckBox

wxCheckBox* GraphDialog::RedCheckBox
protected

Definition at line 41 of file GraphDialog.cpp.

◆ YellowCheckBox

wxCheckBox* GraphDialog::YellowCheckBox
protected

Definition at line 40 of file GraphDialog.cpp.


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