#include <toolbarcust/toolbarcustdlg.h>
Public Member Functions | |
wxToolBarCustomisationDialog () | |
Constructors. | |
wxToolBarCustomisationDialog (wxToolBarCustomisationManager *manager, wxWindow *parent, wxWindowID id=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_IDNAME, const wxString &caption=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_TITLE, const wxPoint &pos=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_POSITION, const wxSize &size=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_SIZE, long style=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_STYLE) | |
bool | Create (wxToolBarCustomisationManager *manager, wxWindow *parent, wxWindowID id=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_IDNAME, const wxString &caption=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_TITLE, const wxPoint &pos=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_POSITION, const wxSize &size=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_SIZE, long style=SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_STYLE) |
Creation. | |
void | Init () |
Initialises member variables. | |
void | CreateControls () |
Creates the controls and sizers. | |
void | ShowToolbar (const wxString &name) |
Show toolbar. | |
void | OnCheckListBoxToggled (wxCommandEvent &event) |
An option was toggled. | |
const wxArrayString | GetChanged () const |
Get the list of toolbar customisations that were changed. | |
const wxArrayString | GetVisibilityChanged () const |
Get the list of toolbar customisations that were changed: visibility only. | |
const wxArrayString | GetToolsChanged () const |
Get the list of toolbar customisations that were changed: tool visibility only. | |
bool | ToolBarChanged (const wxString &name) const |
Did this toolbar change? | |
bool | ToolBarVisibilityChanged (const wxString &name) const |
Did this toolbar visibility change? | |
bool | ToolBarLabelsChanged (const wxString &name) const |
Did this toolbar text labels status change? | |
bool | ToolsChanged (const wxString &name) const |
Did this toolbar's tools change? | |
void | SetShowToolTips (bool show) |
Set whether tooltips should be enabled. | |
const wxString & | GetInitialToolBar () const |
void | SetInitialToolBar (const wxString &name) |
void | OnToolbarCustToolbarsSelected (wxCommandEvent &event) |
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_TOOLBAR_CUST_TOOLBARS | |
void | OnShowToolBarCtrlClick (wxCommandEvent &event) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ShowToolBarCtrl | |
void | OnShowLabelsCtrlClick (wxCommandEvent &event) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ShowLabelsCtrl | |
void | OnShowLabelsCtrlUpdate (wxUpdateUIEvent &event) |
wxEVT_UPDATE_UI event handler for ID_ShowLabelsCtrl | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. | |
bool | ShowToolTips () |
Should we show tooltips? | |
Public Attributes | |
wxChoice * | m_toolbarsCtrl |
wxCheckBox * | m_showToolBarCtrl |
wxCheckBox * | m_showLabelsCtrl |
wxToolCheckListBox * | m_toolListCtrl |
wxToolBarCustomisationManager * | m_manager |
wxArrayString | m_changed |
wxArrayString | m_visibilityChanged |
wxArrayString | m_labelsChanged |
wxArrayString | m_toolsChanged |
bool | m_showToolTips |
wxString | m_initialToolBar |
wxToolBarCustomisationDialog::wxToolBarCustomisationDialog | ( | ) |
Constructors.
wxToolBarCustomisationDialog type definition
wxToolBarCustomisationDialog event table definition
wxToolBarCustomisationDialog constructors
wxToolBarCustomisationDialog::wxToolBarCustomisationDialog | ( | wxToolBarCustomisationManager * | manager, | |
wxWindow * | parent, | |||
wxWindowID | id = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_IDNAME , |
|||
const wxString & | caption = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_TITLE , |
|||
const wxPoint & | pos = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_POSITION , |
|||
const wxSize & | size = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_SIZE , |
|||
long | style = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_STYLE | |||
) |
bool wxToolBarCustomisationDialog::Create | ( | wxToolBarCustomisationManager * | manager, | |
wxWindow * | parent, | |||
wxWindowID | id = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_IDNAME , |
|||
const wxString & | caption = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_TITLE , |
|||
const wxPoint & | pos = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_POSITION , |
|||
const wxSize & | size = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_SIZE , |
|||
long | style = SYMBOL_WXTOOLBARCUSTOMISATIONDIALOG_STYLE | |||
) |
Creation.
wxToolBarCustomisationDialog creator
void wxToolBarCustomisationDialog::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for wxToolBarCustomisationDialog
wxBitmap wxToolBarCustomisationDialog::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
const wxArrayString wxToolBarCustomisationDialog::GetChanged | ( | ) | const [inline] |
Get the list of toolbar customisations that were changed.
wxIcon wxToolBarCustomisationDialog::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
Get icon resources
const wxString& wxToolBarCustomisationDialog::GetInitialToolBar | ( | ) | const [inline] |
const wxArrayString wxToolBarCustomisationDialog::GetToolsChanged | ( | ) | const [inline] |
Get the list of toolbar customisations that were changed: tool visibility only.
const wxArrayString wxToolBarCustomisationDialog::GetVisibilityChanged | ( | ) | const [inline] |
Get the list of toolbar customisations that were changed: visibility only.
void wxToolBarCustomisationDialog::Init | ( | ) |
Initialises member variables.
Member initialisation
void wxToolBarCustomisationDialog::OnCheckListBoxToggled | ( | wxCommandEvent & | event | ) |
An option was toggled.
void wxToolBarCustomisationDialog::OnShowLabelsCtrlClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ShowLabelsCtrl
void wxToolBarCustomisationDialog::OnShowLabelsCtrlUpdate | ( | wxUpdateUIEvent & | event | ) |
wxEVT_UPDATE_UI event handler for ID_ShowLabelsCtrl
wxEVT_UPDATE_UI event handler for ID_ShowLabelsCtrl
void wxToolBarCustomisationDialog::OnShowToolBarCtrlClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ShowToolBarCtrl
void wxToolBarCustomisationDialog::OnToolbarCustToolbarsSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_TOOLBAR_CUST_TOOLBARS
void wxToolBarCustomisationDialog::SetInitialToolBar | ( | const wxString & | name | ) | [inline] |
void wxToolBarCustomisationDialog::SetShowToolTips | ( | bool | show | ) | [inline] |
Set whether tooltips should be enabled.
void wxToolBarCustomisationDialog::ShowToolbar | ( | const wxString & | name | ) |
Show toolbar.
bool wxToolBarCustomisationDialog::ShowToolTips | ( | ) |
Should we show tooltips?
Should we show tooltips?
bool wxToolBarCustomisationDialog::ToolBarChanged | ( | const wxString & | name | ) | const [inline] |
Did this toolbar change?
bool wxToolBarCustomisationDialog::ToolBarLabelsChanged | ( | const wxString & | name | ) | const [inline] |
Did this toolbar text labels status change?
bool wxToolBarCustomisationDialog::ToolBarVisibilityChanged | ( | const wxString & | name | ) | const [inline] |
Did this toolbar visibility change?
bool wxToolBarCustomisationDialog::ToolsChanged | ( | const wxString & | name | ) | const [inline] |
Did this toolbar's tools change?
wxArrayString wxToolBarCustomisationDialog::m_changed |
wxArrayString wxToolBarCustomisationDialog::m_labelsChanged |
wxCheckBox* wxToolBarCustomisationDialog::m_showLabelsCtrl |
wxCheckBox* wxToolBarCustomisationDialog::m_showToolBarCtrl |
wxArrayString wxToolBarCustomisationDialog::m_toolsChanged |
wxArrayString wxToolBarCustomisationDialog::m_visibilityChanged |