KiCad PCB EDA Suite
|
Class APPEARANCE_CONTROLS_BASE. More...
#include <appearance_controls_base.h>
Public Member Functions | |
APPEARANCE_CONTROLS_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~APPEARANCE_CONTROLS_BASE () | |
void | m_netsTabSplitterOnIdle (wxIdleEvent &) |
void | SetBorders (bool aLeft, bool aRight, bool aTop, bool aBottom) |
void | SetBorderColor (const KIGFX::COLOR4D &aColor) |
Protected Member Functions | |
virtual void | OnSetFocus (wxFocusEvent &event) |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | OnNotebookPageChanged (wxNotebookEvent &event) |
virtual void | OnNetGridClick (wxGridEvent &event) |
virtual void | OnNetGridDoubleClick (wxGridEvent &event) |
virtual void | OnNetGridRightClick (wxGridEvent &event) |
virtual void | onLayerPresetChanged (wxCommandEvent &event) |
virtual void | onViewportChanged (wxCommandEvent &event) |
Protected Attributes | |
wxBoxSizer * | m_sizerOuter |
wxNotebook * | m_notebook |
wxPanel * | m_panelLayers |
wxBoxSizer * | m_panelLayersSizer |
wxScrolledCanvas * | m_windowLayers |
wxPanel * | m_panelObjects |
wxBoxSizer * | m_objectsPanelSizer |
wxScrolledCanvas * | m_windowObjects |
wxPanel * | m_panelNetsAndClasses |
wxBoxSizer * | m_netsTabOuterSizer |
wxSplitterWindow * | m_netsTabSplitter |
wxPanel * | m_panelNets |
wxStaticText * | m_staticTextNets |
wxTextCtrl * | m_txtNetFilter |
BITMAP_BUTTON * | m_btnNetInspector |
WX_GRID * | m_netsGrid |
wxPanel * | m_panelNetclasses |
wxStaticText * | m_staticTextNetClasses |
BITMAP_BUTTON * | m_btnConfigureNetClasses |
wxScrolledWindow * | m_netclassScrolledWindow |
wxBoxSizer * | m_netclassOuterSizer |
wxStaticText * | m_presetsLabel |
wxChoice * | m_cbLayerPresets |
wxStaticText * | m_viewportsLabel |
wxChoice * | m_cbViewports |
Private Member Functions | |
void | OnPaint (wxPaintEvent &event) |
Private Attributes | |
bool | m_leftBorder |
bool | m_rightBorder |
bool | m_topBorder |
bool | m_bottomBorder |
KIGFX::COLOR4D | m_borderColor |
Class APPEARANCE_CONTROLS_BASE.
Definition at line 41 of file appearance_controls_base.h.
APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( -1,-1 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 15 of file appearance_controls_base.cpp.
References _, m_btnConfigureNetClasses, m_btnNetInspector, m_cbLayerPresets, m_cbViewports, m_netclassOuterSizer, m_netclassScrolledWindow, m_netsGrid, m_netsTabOuterSizer, m_netsTabSplitter, m_netsTabSplitterOnIdle(), m_notebook, m_objectsPanelSizer, m_panelLayers, m_panelLayersSizer, m_panelNetclasses, m_panelNets, m_panelNetsAndClasses, m_panelObjects, m_presetsLabel, m_sizerOuter, m_staticTextNetClasses, m_staticTextNets, m_txtNetFilter, m_viewportsLabel, m_windowLayers, m_windowObjects, onLayerPresetChanged(), OnNetGridClick(), OnNetGridDoubleClick(), OnNetGridRightClick(), OnNotebookPageChanged(), OnSetFocus(), OnSize(), onViewportChanged(), and WX_GRID::SetColLabelSize().
APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE | ( | ) |
Definition at line 219 of file appearance_controls_base.cpp.
References m_cbLayerPresets, m_cbViewports, m_netsGrid, m_notebook, m_panelLayers, m_panelNetclasses, m_panelNets, m_panelNetsAndClasses, m_panelObjects, onLayerPresetChanged(), OnNetGridClick(), OnNetGridDoubleClick(), OnNetGridRightClick(), OnNotebookPageChanged(), OnSetFocus(), OnSize(), and onViewportChanged().
|
inline |
Definition at line 89 of file appearance_controls_base.h.
References m_netsTabSplitter, and m_netsTabSplitterOnIdle().
Referenced by APPEARANCE_CONTROLS_BASE(), and m_netsTabSplitterOnIdle().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 79 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 76 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 77 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 78 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 75 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
privateinherited |
Definition at line 47 of file wx_panel.cpp.
References WX_PANEL::m_borderColor, WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, WX_PANEL::m_topBorder, KIGFX::COLOR4D::Mix(), KIGFX::COLOR4D::ToColour(), and KIGFX::COLOR4D::UNSPECIFIED.
Referenced by WX_PANEL::WX_PANEL(), and WX_PANEL::~WX_PANEL().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 73 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 74 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS.
Definition at line 80 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
inlineinherited |
Definition at line 47 of file wx_panel.h.
References WX_PANEL::m_borderColor.
Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
|
inlineinherited |
Definition at line 39 of file wx_panel.h.
References WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, and WX_PANEL::m_topBorder.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), PAGED_DIALOG::PAGED_DIALOG(), PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW(), PANEL_SCH_SELECTION_FILTER::PANEL_SCH_SELECTION_FILTER(), PANEL_SELECTION_FILTER::PANEL_SELECTION_FILTER(), PANEL_SETUP_BOARD_STACKUP::PANEL_SETUP_BOARD_STACKUP(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), and SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
|
privateinherited |
Definition at line 61 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorderColor().
|
privateinherited |
Definition at line 59 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 64 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 60 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 68 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::onLayerPresetChanged(), APPEARANCE_CONTROLS::rebuildLayerPresetsWidget(), APPEARANCE_CONTROLS::syncLayerPresetSelection(), APPEARANCE_CONTROLS::updateLayerPresetSelection(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 70 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::onViewportChanged(), APPEARANCE_CONTROLS::rebuildViewportsWidget(), APPEARANCE_CONTROLS::updateViewportSelection(), and ~APPEARANCE_CONTROLS_BASE().
|
privateinherited |
Definition at line 56 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 66 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS::rebuildNets().
|
protected |
Definition at line 65 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS::rebuildNets().
|
protected |
Definition at line 61 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::OnDarkModeToggle(), APPEARANCE_CONTROLS::onNetContextMenu(), APPEARANCE_CONTROLS::OnNetGridClick(), APPEARANCE_CONTROLS::OnNetGridDoubleClick(), APPEARANCE_CONTROLS::OnNetGridMouseEvent(), APPEARANCE_CONTROLS::OnNetGridRightClick(), APPEARANCE_CONTROLS::OnNetVisibilityChanged(), APPEARANCE_CONTROLS::showNetclass(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 55 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS::createControls().
|
protected |
Definition at line 56 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and m_netsTabSplitterOnIdle().
|
protected |
Definition at line 47 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::createControls(), APPEARANCE_CONTROLS::GetTabIndex(), APPEARANCE_CONTROLS::OnLanguageChanged(), APPEARANCE_CONTROLS::OnNotebookPageChanged(), APPEARANCE_CONTROLS::SetTabIndex(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 52 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 48 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::createControls(), APPEARANCE_CONTROLS::OnDarkModeToggle(), APPEARANCE_CONTROLS::OnNotebookPageChanged(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 49 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::createControls(), and APPEARANCE_CONTROLS::rebuildLayers().
|
protected |
Definition at line 62 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 57 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::rebuildNets(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 54 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::createControls(), APPEARANCE_CONTROLS::OnNotebookPageChanged(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 51 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), and ~APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 67 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE().
|
privateinherited |
Definition at line 57 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 46 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::createControls(), and APPEARANCE_CONTROLS::OnNotebookPageChanged().
|
protected |
Definition at line 63 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS::rebuildNets().
|
protected |
Definition at line 58 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS::rebuildNets().
|
privateinherited |
Definition at line 58 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 59 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE().
|
protected |
Definition at line 69 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::rebuildLayerPresetsWidget(), and APPEARANCE_CONTROLS::rebuildViewportsWidget().
|
protected |
Definition at line 50 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), APPEARANCE_CONTROLS::OnDarkModeToggle(), APPEARANCE_CONTROLS::rebuildLayers(), and APPEARANCE_CONTROLS::syncColorsAndVisibility().
|
protected |
Definition at line 53 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS::rebuildObjects().