3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PrefDialog Class Reference

#include <prefDialog.h>

Inheritance diagram for PrefDialog:
Inheritance graph
[legend]
Collaboration diagram for PrefDialog:
Collaboration graph
[legend]

Public Member Functions

 PrefDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxT("Preferences"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
virtual ~PrefDialog ()
 
virtual void OnFilterCellChange (wxPropertyGridEvent &event)
 
virtual void OnFilterListClick (wxCommandEvent &event)
 
virtual void OnResetFilterButton (wxCommandEvent &event)
 
virtual void OnResetFilterAllButton (wxCommandEvent &event)
 
virtual void OnIdle (wxIdleEvent &evt)
 
void setFilterDefaults (const std::vector< Filter * > &defs)
 
void getFilterDefaults (std::vector< Filter * > &defs) const
 
void setPanelDefaults (unsigned int panelMode, bool panelControl, bool panelRaw, bool panelPlotlist)
 
void getPanelDefaults (unsigned int &panelMode, bool &panelControl, bool &panelRaw, bool &panelPlotlist) const
 
bool getAllowOnlineUpdate () const
 
void setAllowOnlineUpdate (bool allowed)
 
void setMouseZoomRate (unsigned int rate)
 
void setMouseMoveRate (unsigned int rate)
 
bool getPreferOrthoCam () const
 
void setPreferOrthoCam (bool prefer) const
 
unsigned int getMouseZoomRate () const
 
unsigned int getMouseMoveRate () const
 
virtual void OnStartupPanelCombo (wxCommandEvent &event)
 
virtual void OnCheckPreferOrtho (wxCommandEvent &event)
 
void OnMouseMoveSlider (wxScrollEvent &event)
 
void OnMouseZoomSlider (wxScrollEvent &event)
 
void do_filtergrid_prop_layout ()
 
void initialise ()
 
void cleanup ()
 

Protected Member Functions

 DECLARE_EVENT_TABLE ()
 

Protected Attributes

wxStaticBox * sizerCamSpeed_staticbox
 
wxStaticBox * sizer_7_staticbox
 
wxStaticBox * updateSizer_staticbox
 
wxStaticBox * sizer_2_staticbox
 
wxStaticBox * filterPropSizer_staticbox
 
wxStaticText * lblFilters
 
wxListBox * listFilters
 
wxPropertyGrid * filterGridProperties
 
wxPropertyGrid * backFilterPropGrid
 
wxButton * filterBtnResetAllFilters
 
wxButton * filterResetDefaultFilter
 
wxPanel * panelFilters
 
wxComboBox * comboPanelStartMode
 
wxCheckBox * chkControl
 
wxCheckBox * chkRawData
 
wxCheckBox * chkPlotlist
 
wxCheckBox * checkAllowOnlineUpdate
 
wxPanel * panelStartup
 
wxCheckBox * chkPreferOrtho
 
wxStaticText * lblMoveSpeed
 
wxStaticText * labelSlowCamMoveRate
 
wxSlider * sliderCamMoveRate
 
wxStaticText * labelFastCamMoveRate
 
wxStaticText * lblZoomSpeed
 
wxStaticText * labelSlowCamZoomRate
 
wxSlider * sliderCamZoomRate
 
wxStaticText * labelSlowFastZoomRate
 
wxPanel * notePrefPanels_pane_3
 
wxNotebook * notePrefPanels
 
wxButton * btnOK
 
wxButton * btnCancel
 

Constructor & Destructor Documentation

◆ PrefDialog()

PrefDialog::PrefDialog ( wxWindow *  parent,
int  id = wxID_ANY,
const wxString &  title = wxT("Preferences"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER 
)

◆ ~PrefDialog()

PrefDialog::~PrefDialog ( )
virtual

Member Function Documentation

◆ cleanup()

void PrefDialog::cleanup ( )

Referenced by getMouseMoveRate(), and MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ DECLARE_EVENT_TABLE()

PrefDialog::DECLARE_EVENT_TABLE ( )
protected

◆ do_filtergrid_prop_layout()

void PrefDialog::do_filtergrid_prop_layout ( )

◆ getAllowOnlineUpdate()

bool PrefDialog::getAllowOnlineUpdate ( ) const
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ getFilterDefaults()

void PrefDialog::getFilterDefaults ( std::vector< Filter * > &  defs) const

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ getMouseMoveRate()

unsigned int PrefDialog::getMouseMoveRate ( ) const
inline

◆ getMouseZoomRate()

unsigned int PrefDialog::getMouseZoomRate ( ) const
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ getPanelDefaults()

void PrefDialog::getPanelDefaults ( unsigned int &  panelMode,
bool &  panelControl,
bool &  panelRaw,
bool &  panelPlotlist 
) const

References chkControl, chkPlotlist, chkRawData, and comboPanelStartMode.

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ getPreferOrthoCam()

bool PrefDialog::getPreferOrthoCam ( ) const
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ initialise()

void PrefDialog::initialise ( )

References ASSERT, sliderCamMoveRate, and sliderCamZoomRate.

Referenced by getMouseMoveRate(), and MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ OnCheckPreferOrtho()

void PrefDialog::OnCheckPreferOrtho ( wxCommandEvent &  event)
virtual

Referenced by getMouseMoveRate(), and ~PrefDialog().

Here is the caller graph for this function:

◆ OnFilterCellChange()

void PrefDialog::OnFilterCellChange ( wxPropertyGridEvent &  event)
virtual

◆ OnFilterListClick()

void PrefDialog::OnFilterListClick ( wxCommandEvent &  event)
virtual

References ASSERT, listFilters, makeFilterFromDefUserString(), and stlStr().

Referenced by ~PrefDialog().

Here is the caller graph for this function:

◆ OnIdle()

void PrefDialog::OnIdle ( wxIdleEvent &  evt)
virtual

References backFilterPropGrid.

Referenced by ~PrefDialog().

Here is the caller graph for this function:

◆ OnMouseMoveSlider()

void PrefDialog::OnMouseMoveSlider ( wxScrollEvent &  event)

◆ OnMouseZoomSlider()

void PrefDialog::OnMouseZoomSlider ( wxScrollEvent &  event)

References sliderCamZoomRate.

Referenced by getMouseMoveRate(), and ~PrefDialog().

Here is the caller graph for this function:

◆ OnResetFilterAllButton()

void PrefDialog::OnResetFilterAllButton ( wxCommandEvent &  event)
virtual

References Filter::canBeHazardous(), filterGridProperties, listFilters, makeFilterFromDefUserString(), stlStr(), and updateFilterPropertyGrid().

Referenced by ~PrefDialog().

Here is the caller graph for this function:

◆ OnResetFilterButton()

void PrefDialog::OnResetFilterButton ( wxCommandEvent &  event)
virtual

References listFilters, makeFilterFromDefUserString(), and stlStr().

Referenced by ~PrefDialog().

Here is the caller graph for this function:

◆ OnStartupPanelCombo()

void PrefDialog::OnStartupPanelCombo ( wxCommandEvent &  event)
virtual

◆ setAllowOnlineUpdate()

void PrefDialog::setAllowOnlineUpdate ( bool  allowed)
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ setFilterDefaults()

void PrefDialog::setFilterDefaults ( const std::vector< Filter * > &  defs)

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ setMouseMoveRate()

void PrefDialog::setMouseMoveRate ( unsigned int  rate)
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ setMouseZoomRate()

void PrefDialog::setMouseZoomRate ( unsigned int  rate)
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ setPanelDefaults()

void PrefDialog::setPanelDefaults ( unsigned int  panelMode,
bool  panelControl,
bool  panelRaw,
bool  panelPlotlist 
)

References ASSERT, chkControl, chkPlotlist, chkRawData, and comboPanelStartMode.

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

◆ setPreferOrthoCam()

void PrefDialog::setPreferOrthoCam ( bool  prefer) const
inline

Referenced by MainWindowFrame::OnEditPreferences().

Here is the caller graph for this function:

Member Data Documentation

◆ backFilterPropGrid

wxPropertyGrid * PrefDialog::backFilterPropGrid
protected

◆ btnCancel

wxButton* PrefDialog::btnCancel
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ btnOK

wxButton* PrefDialog::btnOK
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ checkAllowOnlineUpdate

wxCheckBox* PrefDialog::checkAllowOnlineUpdate
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ chkControl

wxCheckBox* PrefDialog::chkControl
protected

◆ chkPlotlist

wxCheckBox* PrefDialog::chkPlotlist
protected

◆ chkPreferOrtho

wxCheckBox* PrefDialog::chkPreferOrtho
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ chkRawData

wxCheckBox* PrefDialog::chkRawData
protected

◆ comboPanelStartMode

wxComboBox* PrefDialog::comboPanelStartMode
protected

◆ filterBtnResetAllFilters

wxButton* PrefDialog::filterBtnResetAllFilters
protected

◆ filterGridProperties

wxPropertyGrid* PrefDialog::filterGridProperties
protected

◆ filterPropSizer_staticbox

wxStaticBox* PrefDialog::filterPropSizer_staticbox
protected

◆ filterResetDefaultFilter

wxButton* PrefDialog::filterResetDefaultFilter
protected

◆ labelFastCamMoveRate

wxStaticText* PrefDialog::labelFastCamMoveRate
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ labelSlowCamMoveRate

wxStaticText* PrefDialog::labelSlowCamMoveRate
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ labelSlowCamZoomRate

wxStaticText* PrefDialog::labelSlowCamZoomRate
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ labelSlowFastZoomRate

wxStaticText* PrefDialog::labelSlowFastZoomRate
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ lblFilters

wxStaticText* PrefDialog::lblFilters
protected

◆ lblMoveSpeed

wxStaticText* PrefDialog::lblMoveSpeed
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ lblZoomSpeed

wxStaticText* PrefDialog::lblZoomSpeed
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ listFilters

wxListBox* PrefDialog::listFilters
protected

◆ notePrefPanels

wxNotebook* PrefDialog::notePrefPanels
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ notePrefPanels_pane_3

wxPanel* PrefDialog::notePrefPanels_pane_3
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ panelFilters

wxPanel* PrefDialog::panelFilters
protected

◆ panelStartup

wxPanel* PrefDialog::panelStartup
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ sizer_2_staticbox

wxStaticBox* PrefDialog::sizer_2_staticbox
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ sizer_7_staticbox

wxStaticBox* PrefDialog::sizer_7_staticbox
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ sizerCamSpeed_staticbox

wxStaticBox* PrefDialog::sizerCamSpeed_staticbox
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().

◆ sliderCamMoveRate

wxSlider* PrefDialog::sliderCamMoveRate
protected

◆ sliderCamZoomRate

wxSlider* PrefDialog::sliderCamZoomRate
protected

◆ updateSizer_staticbox

wxStaticBox* PrefDialog::updateSizer_staticbox
protected

Referenced by OnMouseMoveSlider(), and PrefDialog().


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