EditThemeDialog Class Reference
Implements a dialog box used to edit a specific theme.
More...
#include <EditThemeDialog.h>
List of all members.
|
Public Member Functions |
| | EditThemeDialog (wxWindow *pParent, const wxString &strTheme, const MapAppearanceSettings &cTheme, IMapData *pMapData) |
| MapAppearanceSettings | GetTheme () |
| | Returns the theme object.
|
| wxString | GetThemeName () |
| | Returns the theme name.
|
Private Member Functions |
| void | RecordSettings () |
| | Save the active settings to m_Theme.
|
| wxArrayString | GetRecordTypeNames () |
| | Creates a wxArrayString of record type names.
|
| void | OnCheckBox (wxEvent &event) |
| | Triggered when a checkbox is selected or deselected.
|
| void | OnOk (wxCommandEvent &event) |
| | Ok button pressed - save settings.
|
| void | OnRecordTypeChange (wxCommandEvent &event) |
| | User changed feature types.
|
| void | OnDetailLevelChange (wxCommandEvent &event) |
| | User changed detail level.
|
Private Attributes |
| IMapData * | m_pMapData |
| | Map control data - mostly used to figure out what the detail levels are called.
|
| int | m_iLastRecordType |
| | last record type that was selected
|
| MapAppearanceSettings | m_Theme |
| | Theme being edited.
|
| wxString | m_strTheme |
| | Name of theme being edited.
|
| wxTextCtrl * | m_pctlThemeName |
| | Control containing name of theme being edited.
|
| wxComboBox * | m_pctlRecordType |
| | Contains which setting is being changed.
|
| ColorPickerControl * | m_pctlLabelColor [EDITTHEMEDIALOG_MAX_DETAILLEVELS] |
| | Label color selected.
|
| ColorPickerControl * | m_pctlLineColor [EDITTHEMEDIALOG_MAX_DETAILLEVELS] |
| | Line color selected.
|
| wxCheckBox * | m_pctlLabelVisible [EDITTHEMEDIALOG_MAX_DETAILLEVELS] |
| | Label visible checkbox.
|
| wxTextCtrl * | m_pctlLabelFontSize [EDITTHEMEDIALOG_MAX_DETAILLEVELS] |
| | Label font size text control.
|
| wxCheckBox * | m_pctlLineVisible [EDITTHEMEDIALOG_MAX_DETAILLEVELS] |
| | Line visible checkbox.
|
| wxTextCtrl * | m_pctlLineWidth [EDITTHEMEDIALOG_MAX_DETAILLEVELS] |
| | Line width text control.
|
Detailed Description
Implements a dialog box used to edit a specific theme.
Definition at line 45 of file EditThemeDialog.h.
Constructor & Destructor Documentation
| EditThemeDialog::EditThemeDialog |
( |
wxWindow * |
pParent, |
|
|
const wxString & |
strTheme, |
|
|
const MapAppearanceSettings & |
cTheme, |
|
|
IMapData * |
pMapData | |
|
) |
| | |
Member Function Documentation
| MapAppearanceSettings EditThemeDialog::GetTheme |
( |
|
) |
|
| wxString EditThemeDialog::GetThemeName |
( |
|
) |
|
| void EditThemeDialog::RecordSettings |
( |
|
) |
[private] |
| wxArrayString EditThemeDialog::GetRecordTypeNames |
( |
|
) |
[private] |
| void EditThemeDialog::OnCheckBox |
( |
wxEvent & |
event |
) |
[private] |
Triggered when a checkbox is selected or deselected.
Enable/disable the appropriate text box
Definition at line 497 of file EditThemeDialog.cpp.
| void EditThemeDialog::OnOk |
( |
wxCommandEvent & |
event |
) |
[private] |
| void EditThemeDialog::OnRecordTypeChange |
( |
wxCommandEvent & |
event |
) |
[private] |
| void EditThemeDialog::OnDetailLevelChange |
( |
wxCommandEvent & |
event |
) |
[private] |
Member Data Documentation
Map control data - mostly used to figure out what the detail levels are called.
Definition at line 63 of file EditThemeDialog.h.
Control containing name of theme being edited.
Definition at line 75 of file EditThemeDialog.h.
The documentation for this class was generated from the following files: