wxPackagePresetsPanel Class Reference

List of all members.

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

wxOptionEditorCtrlm_pOptionsList
wxChoice * m_pPresetChoice
wxString m_strCurPresetSelection
 The name of the currently selected preset.
wxPackageCommandOptionArrayHashMap m_optHashmap

Detailed Description

Definition at line 51 of file presetspanel.h.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Feb 1 22:14:32 2007 for wxWidgets Package Manager by  doxygen 1.5.1-p1