Code::Blocks
SVN r11506
|
Base class for plugin configuration panels. More...
#include <configurationpanel.h>
Public Member Functions | |
cbConfigurationPanel () | |
~cbConfigurationPanel () override | |
virtual wxString | GetTitle () const =0 |
virtual wxString | GetBitmapBaseName () const =0 |
virtual void | OnApply ()=0 |
Called when the user chooses to apply the configuration. More... | |
virtual void | OnCancel ()=0 |
Called when the user chooses to cancel the configuration. More... | |
void | SetParentDialog (wxWindow *dialog) |
Sets the panel's parent dialog. More... | |
wxWindow * | SetParentDialog () |
Gets the panel's parent dialog. More... | |
int | cbMessageBox (const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1) |
Call global cbMessageBox with m_parentDialog as parent window when no parent window specified. More... | |
Private Attributes | |
wxWindow * | m_parentDialog |
Base class for plugin configuration panels.
Definition at line 19 of file configurationpanel.h.
|
inline |
Definition at line 22 of file configurationpanel.h.
|
inlineoverride |
Definition at line 23 of file configurationpanel.h.
|
inline |
Call global cbMessageBox with m_parentDialog as parent window when no parent window specified.
Definition at line 46 of file configurationpanel.h.
References cbMessageBox().
Referenced by CompilerOptionsDlg::AutoDetectCompiler(), CompilerOptionsDlg::OnAddCompilerClick(), CompilerOptionsDlg::OnAddExtraPathClick(), CCOptionsProjectDlg::OnApply(), CompilerOptionsDlg::OnApply(), CompilerOptionsDlg::OnClearDirClick(), CompilerOptionsDlg::OnClearExtraPathClick(), CompilerOptionsDlg::OnClearLibClick(), CompilerOptionsDlg::OnClearVarClick(), CompilerOptionsDlg::OnCompilerChanged(), CompilerOptionsDlg::OnEditDirClick(), CompilerOptionsDlg::OnEditExtraPathClick(), CompilerOptionsDlg::OnEditLibClick(), CompilerOptionsDlg::OnRemoveCompilerClick(), CompilerOptionsDlg::OnRemoveDirClick(), CompilerOptionsDlg::OnRemoveLibClick(), CompilerOptionsDlg::OnRemoveVarClick(), CompilerOptionsDlg::OnResetCompilerClick(), CompilerOptionsDlg::OnSetDefaultCompilerClick(), CompilerOptionsDlg::ProjectTargetCompilerAdjust(), CompilerOptionsDlg::UpdateCompilerForTargets(), and CCOptionsDlg::ValidateReplacementToken().
|
pure virtual |
Implemented in CompilerOptionsDlg, DebuggerOptionsProjectDlg, CCOptionsDlg, and CCOptionsProjectDlg.
Referenced by CompilerSettingsDlg::AddPluginPanels(), EnvironmentSettingsDlg::AddPluginPanels(), and EditorConfigurationDlg::AddPluginPanels().
|
pure virtual |
Implemented in CompilerOptionsDlg, DebuggerOptionsProjectDlg, CCOptionsDlg, and CCOptionsProjectDlg.
Referenced by CompilerSettingsDlg::AddPluginPanels(), EnvironmentSettingsDlg::AddPluginPanels(), EditorConfigurationDlg::AddPluginPanels(), and ProjectOptionsDlg::AddPluginPanels().
|
pure virtual |
Called when the user chooses to apply the configuration.
Implemented in CompilerOptionsDlg, DebuggerOptionsProjectDlg, CCOptionsDlg, and CCOptionsProjectDlg.
Referenced by CompilerSettingsDlg::EndModal(), EnvironmentSettingsDlg::EndModal(), ProjectOptionsDlg::EndModal(), EditorConfigurationDlg::EndModal(), and cbConfigurationDialog::EndModal().
|
pure virtual |
Called when the user chooses to cancel the configuration.
Implemented in CompilerOptionsDlg, DebuggerOptionsProjectDlg, CCOptionsDlg, and CCOptionsProjectDlg.
Referenced by CompilerSettingsDlg::EndModal(), EnvironmentSettingsDlg::EndModal(), ProjectOptionsDlg::EndModal(), EditorConfigurationDlg::EndModal(), and cbConfigurationDialog::EndModal().
|
inline |
Sets the panel's parent dialog.
Definition at line 35 of file configurationpanel.h.
Referenced by CompilerSettingsDlg::AddPluginPanels(), EnvironmentSettingsDlg::AddPluginPanels(), EditorConfigurationDlg::AddPluginPanels(), ProjectOptionsDlg::AddPluginPanels(), and CompilerGCC::Configure().
|
inline |
Gets the panel's parent dialog.
Definition at line 40 of file configurationpanel.h.
|
private |
Definition at line 54 of file configurationpanel.h.