|
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 39 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 27 of file net_inspector_panel.cpp.
References _, config, KIUI::GetDockedPaneFont(), KiBitmapBundle(), m_configureBtn, m_frame, m_netsList, m_searchCtrl, m_sizerOuter, name, OnConfigButton(), OnLanguageChanged(), OnSearchTextChanged(), OnSetFocus(), and OnSize().
Referenced by PCB_NET_INSPECTOR_PANEL::PCB_NET_INSPECTOR_PANEL().
| NET_INSPECTOR_PANEL::~NET_INSPECTOR_PANEL | ( | ) |
Definition at line 80 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 70 of file net_inspector_panel.h.
|
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().
|
protectedvirtual |
Definition at line 94 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 83 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 55 of file net_inspector_panel.h.
|
inlineprotectedvirtual |
Reimplemented in PCB_NET_INSPECTOR_PANEL.
Definition at line 76 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
inlineprotectedvirtual |
Definition at line 74 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 65 of file net_inspector_panel.h.
|
inlineprotectedvirtual |
Definition at line 75 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 60 of file net_inspector_panel.h.
|
protected |
Definition at line 90 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), OnLanguageChanged(), and ~NET_INSPECTOR_PANEL().
|
protected |
Definition at line 86 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().
|
protected |
Definition at line 91 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::OnBoardHighlightNetChanged(), PCB_NET_INSPECTOR_PANEL::OnConfigButton(), PCB_NET_INSPECTOR_PANEL::onDeleteSelectedNet(), PCB_NET_INSPECTOR_PANEL::OnNetsListContextMenu(), PCB_NET_INSPECTOR_PANEL::onRemoveSelectedGroup(), PCB_NET_INSPECTOR_PANEL::onRenameSelectedNet(), PCB_NET_INSPECTOR_PANEL::PCB_NET_INSPECTOR_PANEL(), PCB_NET_INSPECTOR_PANEL::SaveSettings(), PCB_NET_INSPECTOR_PANEL::updateBoardItems(), PCB_NET_INSPECTOR_PANEL::updateDisplayedRowValues(), PCB_NET_INSPECTOR_PANEL::updateNets(), ~NET_INSPECTOR_PANEL(), and PCB_NET_INSPECTOR_PANEL::~PCB_NET_INSPECTOR_PANEL().
|
protected |
Definition at line 89 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 88 of file net_inspector_panel.h.
Referenced by NET_INSPECTOR_PANEL().