Public Member Functions | |
wxPackagePresetsPanel () | |
Constructors. | |
wxPackagePresetsPanel (wxWindow *parent, wxWindowID id=SYMBOL_WXPACKAGEPRESETSPANEL_IDNAME, const wxPoint &pos=SYMBOL_WXPACKAGEPRESETSPANEL_POSITION, const wxSize &size=SYMBOL_WXPACKAGEPRESETSPANEL_SIZE, long style=SYMBOL_WXPACKAGEPRESETSPANEL_STYLE) | |
bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_WXPACKAGEPRESETSPANEL_IDNAME, const wxPoint &pos=SYMBOL_WXPACKAGEPRESETSPANEL_POSITION, const wxSize &size=SYMBOL_WXPACKAGEPRESETSPANEL_SIZE, long style=SYMBOL_WXPACKAGEPRESETSPANEL_STYLE) |
Creation. | |
void | CreateControls () |
Creates the controls and sizers. | |
void | OnResetToDefaults (wxCommandEvent &) |
void | OnPresetChanged (wxCommandEvent &) |
void | OnOptionChanged (wxCommandEvent &) |
bool | TransferDataFromWindow () |
Returns true if there were changes to be saved. | |
wxString | GetPresetName (unsigned int n) const |
Returns the name of the currently selected preset. | |
void | UpdatePresetChoiceStrings () |
Updates the strings in the preset choice control. | |
void | ApplySettings () |
Applies user changes to global presets. | |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? | |
Protected Attributes | |
wxOptionEditorCtrl * | m_pOptionsList |
wxChoice * | m_pPresetChoice |
wxString | m_strCurPresetSelection |
The name of the currently selected preset. | |
wxPackageCommandOptionArrayHashMap | m_optHashmap |
Definition at line 51 of file presetspanel.h.
wxPackageCommandOptionArrayHashMap wxPackagePresetsPanel::m_optHashmap [protected] |
The options with user edits. This hashmap is initialized with global presets at creation-time. It's saved back in global presets only in ApplySettings()
Definition at line 101 of file presetspanel.h.
Referenced by ApplySettings(), CreateControls(), OnResetToDefaults(), TransferDataFromWindow(), and UpdatePresetChoiceStrings().