KiCad PCB EDA Suite
|
A base class used to implement docking net inspector panels. More...
#include <net_inspector_panel.h>
Public Member Functions | |
NET_INSPECTOR_PANEL (wxWindow *parent, EDA_BASE_FRAME *aFrame, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, -1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~NET_INSPECTOR_PANEL () | |
virtual void | OnParentSetupChanged () |
Rebuild inspector data if project settings updated. | |
virtual void | SaveSettings () |
Save the net inspector settings - called from EDA_EDIT_FRAME when hiding the panel. | |
virtual void | OnShowPanel () |
Prepare the panel when (re-)shown in the editor. | |
virtual void | OnBoardChanged () |
Notification from file loader when board changed and connectivity rebuilt. | |
Protected Member Functions | |
virtual void | OnSetFocus (wxFocusEvent &event) |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | OnSearchTextChanged (wxCommandEvent &event) |
virtual void | OnConfigButton (wxCommandEvent &event) |
virtual void | OnLanguageChanged (wxCommandEvent &event) |
virtual void | OnLanguageChangedImpl () |
Implementation-specific implementation of language update handling. | |
Protected Attributes | |
EDA_BASE_FRAME * | m_frame |
wxGridBagSizer * | m_sizerOuter |
wxSearchCtrl * | m_searchCtrl |
BITMAP_BUTTON * | m_configureBtn |
wxDataViewCtrl * | m_netsList |
A base class used to implement docking net inspector panels.
Provides a filter control, a settings button, and a data-driven wxDataViewCtrl
Definition at line 40 of file net_inspector_panel.h.
NET_INSPECTOR_PANEL::NET_INSPECTOR_PANEL | ( | wxWindow * | parent, |
EDA_BASE_FRAME * | aFrame, | ||
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 26 of file net_inspector_panel.cpp.
References _, KIUI::GetDockedPaneFont(), KiBitmapBundle(), m_configureBtn, m_frame, m_netsList, m_searchCtrl, m_sizerOuter, OnConfigButton(), OnLanguageChanged(), OnSearchTextChanged(), OnSetFocus(), OnSize(), BITMAP_BUTTON::SetBitmap(), and BITMAP_BUTTON::SetPadding().
NET_INSPECTOR_PANEL::~NET_INSPECTOR_PANEL | ( | ) |
Definition at line 78 of file net_inspector_panel.cpp.
References m_configureBtn, m_frame, m_netsList, m_searchCtrl, OnConfigButton(), OnLanguageChanged(), OnSearchTextChanged(), OnSetFocus(), and OnSize().
|
inlinevirtual |
Notification from file loader when board changed and connectivity rebuilt.
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 71 of file net_inspector_panel.h.
Referenced by PCB_EDIT_FRAME::onBoardLoaded().
|
inlineprotectedvirtual |
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 78 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
protectedvirtual |
Definition at line 93 of file net_inspector_panel.cpp.
References _, m_configureBtn, m_searchCtrl, and OnLanguageChangedImpl().
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
inlineprotectedvirtual |
Implementation-specific implementation of language update handling.
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 84 of file net_inspector_panel.h.
Referenced by OnLanguageChanged().
|
inlinevirtual |
Rebuild inspector data if project settings updated.
Called by the parent EDA_EDIT_FRAME on change of settings (e.g. stackup, netclass definitions)
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 56 of file net_inspector_panel.h.
Referenced by PCB_EDIT_FRAME::UpdateUserInterface().
|
inlineprotectedvirtual |
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 77 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
inlineprotectedvirtual |
Definition at line 75 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
inlinevirtual |
Prepare the panel when (re-)shown in the editor.
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 66 of file net_inspector_panel.h.
Referenced by PCB_EDIT_FRAME::ToggleNetInspector().
|
inlineprotectedvirtual |
Definition at line 76 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
inlinevirtual |
Save the net inspector settings - called from EDA_EDIT_FRAME when hiding the panel.
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 61 of file net_inspector_panel.h.
Referenced by PCB_EDIT_FRAME::ToggleNetInspector().
|
protected |
Definition at line 91 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), OnLanguageChanged(), and ~NET_INSPECTOR_PANEL().
|
protected |
Definition at line 87 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
protected |
Definition at line 92 of file net_inspector_panel.h.
Referenced by PCB_NET_INSPECTOR_PANEL::adjustListColumnSizes(), PCB_NET_INSPECTOR_PANEL::buildColumns(), PCB_NET_INSPECTOR_PANEL::buildNetsList(), PCB_NET_INSPECTOR_PANEL::getDisplayedColumnForModelField(), PCB_NET_INSPECTOR_PANEL::highlightSelectedNets(), NET_INSPECTOR_PANEL(), PCB_NET_INSPECTOR_PANEL::OnBoardCompositeUpdate(), PCB_NET_INSPECTOR_PANEL::OnBoardHighlightNetChanged(), PCB_NET_INSPECTOR_PANEL::OnBoardItemChanged(), PCB_NET_INSPECTOR_PANEL::OnBoardItemsAdded(), PCB_NET_INSPECTOR_PANEL::OnBoardItemsChanged(), PCB_NET_INSPECTOR_PANEL::OnBoardItemsRemoved(), PCB_NET_INSPECTOR_PANEL::OnBoardNetSettingsChanged(), PCB_NET_INSPECTOR_PANEL::OnConfigButton(), PCB_NET_INSPECTOR_PANEL::onDeleteSelectedNet(), PCB_NET_INSPECTOR_PANEL::OnNetsListContextMenu(), PCB_NET_INSPECTOR_PANEL::OnParentSetupChanged(), PCB_NET_INSPECTOR_PANEL::onRemoveSelectedGroup(), PCB_NET_INSPECTOR_PANEL::onRenameSelectedNet(), PCB_NET_INSPECTOR_PANEL::PCB_NET_INSPECTOR_PANEL(), PCB_NET_INSPECTOR_PANEL::DATA_MODEL::resortIfChanged(), PCB_NET_INSPECTOR_PANEL::SaveSettings(), PCB_NET_INSPECTOR_PANEL::updateDisplayedRowValues(), ~NET_INSPECTOR_PANEL(), and PCB_NET_INSPECTOR_PANEL::~PCB_NET_INSPECTOR_PANEL().
|
protected |
Definition at line 90 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), PCB_NET_INSPECTOR_PANEL::netFilterMatches(), PCB_NET_INSPECTOR_PANEL::OnBoardChanged(), OnLanguageChanged(), PCB_NET_INSPECTOR_PANEL::SaveSettings(), and ~NET_INSPECTOR_PANEL().
|
protected |
Definition at line 89 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL().