KiCad PCB EDA Suite
Loading...
Searching...
No Matches
NET_INSPECTOR_PANEL Class Reference

A base class used to implement docking net inspector panels. More...

#include <net_inspector_panel.h>

Inheritance diagram for NET_INSPECTOR_PANEL:
PCB_NET_INSPECTOR_PANEL

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_FRAMEm_frame
 
wxGridBagSizer * m_sizerOuter
 
wxSearchCtrl * m_searchCtrl
 
BITMAP_BUTTONm_configureBtn
 
wxDataViewCtrl * m_netsList
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NET_INSPECTOR_PANEL()

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 
)

◆ ~NET_INSPECTOR_PANEL()

NET_INSPECTOR_PANEL::~NET_INSPECTOR_PANEL ( )

Member Function Documentation

◆ OnBoardChanged()

virtual void NET_INSPECTOR_PANEL::OnBoardChanged ( )
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().

◆ OnConfigButton()

virtual void NET_INSPECTOR_PANEL::OnConfigButton ( wxCommandEvent &  event)
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().

◆ OnLanguageChanged()

void NET_INSPECTOR_PANEL::OnLanguageChanged ( wxCommandEvent &  event)
protectedvirtual

◆ OnLanguageChangedImpl()

virtual void NET_INSPECTOR_PANEL::OnLanguageChangedImpl ( )
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().

◆ OnParentSetupChanged()

virtual void NET_INSPECTOR_PANEL::OnParentSetupChanged ( )
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().

◆ OnSearchTextChanged()

virtual void NET_INSPECTOR_PANEL::OnSearchTextChanged ( wxCommandEvent &  event)
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().

◆ OnSetFocus()

virtual void NET_INSPECTOR_PANEL::OnSetFocus ( wxFocusEvent &  event)
inlineprotectedvirtual

Definition at line 75 of file net_inspector_panel.h.

Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().

◆ OnShowPanel()

virtual void NET_INSPECTOR_PANEL::OnShowPanel ( )
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().

◆ OnSize()

virtual void NET_INSPECTOR_PANEL::OnSize ( wxSizeEvent &  event)
inlineprotectedvirtual

Definition at line 76 of file net_inspector_panel.h.

Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().

◆ SaveSettings()

virtual void NET_INSPECTOR_PANEL::SaveSettings ( )
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().

Member Data Documentation

◆ m_configureBtn

BITMAP_BUTTON* NET_INSPECTOR_PANEL::m_configureBtn
protected

◆ m_frame

EDA_BASE_FRAME* NET_INSPECTOR_PANEL::m_frame
protected

Definition at line 87 of file net_inspector_panel.h.

Referenced by NET_INSPECTOR_PANEL(), and ~NET_INSPECTOR_PANEL().

◆ m_netsList

◆ m_searchCtrl

◆ m_sizerOuter

wxGridBagSizer* NET_INSPECTOR_PANEL::m_sizerOuter
protected

Definition at line 89 of file net_inspector_panel.h.

Referenced by NET_INSPECTOR_PANEL().


The documentation for this class was generated from the following files: