![]() |
KiCad PCB EDA Suite
|
Class PANEL_COLOR_SETTINGS_BASE. More...
#include <panel_color_settings_base.h>
Public Member Functions | |
PANEL_COLOR_SETTINGS_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(826, 300), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~PANEL_COLOR_SETTINGS_BASE () | |
virtual void | ResetPanel ()=0 |
Reset the contents of this panel. More... | |
virtual wxString | GetResetTooltip () |
Get the tooltip the reset button should display when showing this panel. More... | |
Public Attributes | |
wxCheckBox * | m_optOverrideColors |
Protected Member Functions | |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | OnThemeChanged (wxCommandEvent &event) |
virtual void | OnLeftDownTheme (wxMouseEvent &event) |
virtual void | OnOverrideItemColorsClicked (wxCommandEvent &event) |
virtual void | OnBtnOpenThemeFolderClicked (wxCommandEvent &event) |
Protected Attributes | |
wxBoxSizer * | m_mainSizer |
wxStaticText * | m_staticText9 |
wxChoice * | m_cbTheme |
wxButton * | m_btnOpenFolder |
wxStaticLine * | m_staticline2 |
wxBoxSizer * | m_colorsMainSizer |
wxScrolledWindow * | m_colorsListWindow |
wxFlexGridSizer * | m_colorsGridSizer |
Class PANEL_COLOR_SETTINGS_BASE.
Definition at line 36 of file panel_color_settings_base.h.
PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( 826,300 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 12 of file panel_color_settings_base.cpp.
References _, m_btnOpenFolder, m_cbTheme, m_colorsGridSizer, m_colorsListWindow, m_colorsMainSizer, m_mainSizer, m_optOverrideColors, m_staticline2, m_staticText9, OnBtnOpenThemeFolderClicked(), OnLeftDownTheme(), OnOverrideItemColorsClicked(), OnSize(), and OnThemeChanged().
PANEL_COLOR_SETTINGS_BASE::~PANEL_COLOR_SETTINGS_BASE | ( | ) |
Definition at line 92 of file panel_color_settings_base.cpp.
References m_btnOpenFolder, m_cbTheme, m_optOverrideColors, OnBtnOpenThemeFolderClicked(), OnLeftDownTheme(), OnOverrideItemColorsClicked(), OnSize(), and OnThemeChanged().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_HOTKEYS_EDITOR, and PANEL_COLOR_SETTINGS.
Definition at line 52 of file resettable_panel.h.
References _.
|
inlineprotectedvirtual |
Reimplemented in PANEL_COLOR_SETTINGS.
Definition at line 55 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE(), and ~PANEL_COLOR_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_COLOR_SETTINGS.
Definition at line 53 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE(), and ~PANEL_COLOR_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_EESCHEMA_COLOR_SETTINGS.
Definition at line 54 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE(), and ~PANEL_COLOR_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_EESCHEMA_COLOR_SETTINGS, and PANEL_PCBNEW_COLOR_SETTINGS.
Definition at line 51 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE(), and ~PANEL_COLOR_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_COLOR_SETTINGS.
Definition at line 52 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE(), and ~PANEL_COLOR_SETTINGS_BASE().
|
pure virtualinherited |
Reset the contents of this panel.
Implemented in PANEL_HOTKEYS_EDITOR, PANEL_EESCHEMA_COLOR_SETTINGS, PANEL_SETUP_PINMAP, PANEL_COLOR_SETTINGS, PANEL_MOUSE_SETTINGS, PANEL_GERBVIEW_EXCELLON_SETTINGS, PANEL_PCBNEW_COLOR_SETTINGS, PANEL_COMMON_SETTINGS, and PANEL_3D_RAYTRACING_OPTIONS.
Referenced by PAGED_DIALOG::OnResetButton().
|
protected |
Definition at line 44 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS_BASE(), and ~PANEL_COLOR_SETTINGS_BASE().
|
protected |
Definition at line 43 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), PANEL_COLOR_SETTINGS::createThemeList(), PANEL_COLOR_SETTINGS::OnThemeChanged(), PANEL_COLOR_SETTINGS_BASE(), PANEL_COLOR_SETTINGS::Show(), PANEL_COLOR_SETTINGS::ShowColorContextMenu(), and ~PANEL_COLOR_SETTINGS_BASE().
|
protected |
Definition at line 48 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), PANEL_PCBNEW_COLOR_SETTINGS::createSwatches(), PANEL_EESCHEMA_COLOR_SETTINGS::createSwatches(), PANEL_EESCHEMA_COLOR_SETTINGS::OnOverrideItemColorsClicked(), and PANEL_COLOR_SETTINGS_BASE().
|
protected |
Definition at line 47 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), PANEL_PCBNEW_COLOR_SETTINGS::createSwatches(), PANEL_EESCHEMA_COLOR_SETTINGS::createSwatches(), PANEL_EESCHEMA_COLOR_SETTINGS::OnOverrideItemColorsClicked(), PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), and PANEL_COLOR_SETTINGS_BASE().
|
protected |
|
protected |
Definition at line 41 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE().
wxCheckBox* PANEL_COLOR_SETTINGS_BASE::m_optOverrideColors |
Definition at line 59 of file panel_color_settings_base.h.
Referenced by PANEL_EESCHEMA_COLOR_SETTINGS::OnOverrideItemColorsClicked(), PANEL_COLOR_SETTINGS::OnThemeChanged(), PANEL_COLOR_SETTINGS_BASE(), PANEL_EESCHEMA_COLOR_SETTINGS::PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), PANEL_EESCHEMA_COLOR_SETTINGS::TransferDataFromWindow(), DIALOG_SHEET_PROPERTIES::TransferDataFromWindow(), and ~PANEL_COLOR_SETTINGS_BASE().
|
protected |
Definition at line 45 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE().
|
protected |
Definition at line 42 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE().