#include <virtual_common_ch_control.h>
Inheritance diagram for VirtualCommonChControl:

Public Member Functions | |
| VirtualCommonChControl () | |
| Constructors. | |
| VirtualCommonChControl (wxWindow *parent, wxWindowID id=SYMBOL_VIRTUALCOMMONCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_VIRTUALCOMMONCHCONTROL_POSITION, const wxSize &size=SYMBOL_VIRTUALCOMMONCHCONTROL_SIZE, long style=SYMBOL_VIRTUALCOMMONCHCONTROL_STYLE) | |
| bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_VIRTUALCOMMONCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_VIRTUALCOMMONCHCONTROL_POSITION, const wxSize &size=SYMBOL_VIRTUALCOMMONCHCONTROL_SIZE, long style=SYMBOL_VIRTUALCOMMONCHCONTROL_STYLE) |
| Creation. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | OnVirtualEnableTogglebuttonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_VIRTUAL_ENABLE_TOGGLEBUTTON | |
| void | OnVirtualButtonClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_VIRTUAL_BUTTON | |
| wxBitmap | GetBitmapResource (const wxString &name) |
| Retrieves bitmap resources. | |
| wxIcon | GetIconResource (const wxString &name) |
| Retrieves icon resources. | |
| bool | SetupBoard (GenericBoard *p_board, int ch_index, int ch_count) |
| bool | UpdateControls () |
| void | SetMediumLabel (double value) |
| void | SetOverloadBackground (const wxColor &color) |
Static Public Member Functions | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Public Attributes | |
| wxStaticBox * | m_main_sizer_text |
| wxToggleButton * | m_ch_enable_control |
| wxStaticText * | m_medium_value_control |
Private Attributes | |
| GenericBoard * | m_p_board |
| VirtualBoardChannel * | m_p_board_channel |
| int | m_ch_index |
| int | m_ch_count |
Definition at line 68 of file virtual_common_ch_control.h.
|
|
Constructors. VirtualCommonChControl constructors Definition at line 63 of file virtual_common_ch_control.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 67 of file virtual_common_ch_control.cpp. References Create(). |
|
||||||||||||||||||||||||
|
Creation. VirtualCommonChControl creator Definition at line 76 of file virtual_common_ch_control.cpp. References CreateControls(), m_ch_enable_control, m_main_sizer_text, and m_medium_value_control. Referenced by VirtualCommonChControl(). |
|
|
Creates the controls and sizers. Control creation for VirtualCommonChControl Definition at line 101 of file virtual_common_ch_control.cpp. References ID_VIRTUAL_BUTTON, ID_VIRTUAL_ENABLE_TOGGLEBUTTON, m_ch_enable_control, m_main_sizer_text, m_medium_value_control, and ShowToolTips(). Referenced by Create(). |
|
|
Retrieves bitmap resources. Get bitmap resources Definition at line 165 of file virtual_common_ch_control.cpp. |
|
|
Retrieves icon resources. Get icon resources Definition at line 178 of file virtual_common_ch_control.cpp. |
|
|
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_VIRTUAL_BUTTON wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_VIRTUAL_BUTTON Definition at line 190 of file virtual_common_ch_control.cpp. References SCOPE_NUM_PANELS. |
|
|
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_VIRTUAL_ENABLE_TOGGLEBUTTON wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_VIRTUAL_ENABLE_TOGGLEBUTTON Definition at line 142 of file virtual_common_ch_control.cpp. References m_ch_enable_control, GenericBoardChannel::m_enabled, m_p_board_channel, and SCOPE_NUM_PANELS. |
|
|
Reimplemented from CommonChControlBase. Definition at line 225 of file virtual_common_ch_control.cpp. References m_medium_value_control. |
|
|
Reimplemented from CommonChControlBase. Definition at line 229 of file virtual_common_ch_control.cpp. |
|
||||||||||||||||
|
Definition at line 203 of file virtual_common_ch_control.cpp. References m_ch_count, GenericBoardChannel::m_ch_index, m_ch_index, m_p_board, and m_p_board_channel. |
|
|
Should we show tooltips? Should we show tooltips? Definition at line 156 of file virtual_common_ch_control.cpp. Referenced by CreateControls(). |
|
|
Definition at line 217 of file virtual_common_ch_control.cpp. References m_ch_enable_control, and m_main_sizer_text. |
|
|
Definition at line 122 of file virtual_common_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 108 of file virtual_common_ch_control.h. Referenced by Create(), CreateControls(), OnVirtualEnableTogglebuttonClick(), and UpdateControls(). |
|
|
Definition at line 121 of file virtual_common_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 107 of file virtual_common_ch_control.h. Referenced by Create(), CreateControls(), and UpdateControls(). |
|
|
Definition at line 109 of file virtual_common_ch_control.h. Referenced by Create(), CreateControls(), and SetMediumLabel(). |
|
|
Definition at line 119 of file virtual_common_ch_control.h. Referenced by SetupBoard(). |
|
|
Definition at line 120 of file virtual_common_ch_control.h. Referenced by OnVirtualEnableTogglebuttonClick(), and SetupBoard(). |
1.4.6-NO