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

#include <pcb_search_pane.h>

Inheritance diagram for PCB_SEARCH_PANE:
SEARCH_PANE BOARD_LISTENER SEARCH_PANE_BASE

Public Member Functions

 PCB_SEARCH_PANE (PCB_EDIT_FRAME *aFrame)
 
virtual ~PCB_SEARCH_PANE ()
 
virtual void OnBoardItemAdded (BOARD &aBoard, BOARD_ITEM *aBoardItem) override
 
virtual void OnBoardItemsAdded (BOARD &aBoard, std::vector< BOARD_ITEM * > &aBoardItems) override
 
virtual void OnBoardItemRemoved (BOARD &aBoard, BOARD_ITEM *aBoardItem) override
 
virtual void OnBoardItemsRemoved (BOARD &aBoard, std::vector< BOARD_ITEM * > &aBoardItems) override
 
virtual void OnBoardNetSettingsChanged (BOARD &aBoard) override
 
virtual void OnBoardItemChanged (BOARD &aBoard, BOARD_ITEM *aBoardItem) override
 
virtual void OnBoardItemsChanged (BOARD &aBoard, std::vector< BOARD_ITEM * > &aBoardItems) override
 
virtual void OnBoardHighlightNetChanged (BOARD &aBoard) override
 
virtual void OnBoardRatsnestChanged (BOARD &aBoard) override
 
void AddSearcher (SEARCH_HANDLER *aHandler)
 
void OnSearchTextEntry (wxCommandEvent &aEvent) override
 
void OnNotebookPageChanged (wxBookCtrlEvent &aEvent) override
 
void RefreshSearch ()
 
void OnLanguageChange ()
 
void FocusSearch ()
 
void ClearAllResults ()
 

Protected Member Functions

virtual void OnNotebookPageChanged (wxNotebookEvent &event)
 
SEARCH_PANE_TABGetCurrentTab () const
 
virtual void OnSetFocus (wxFocusEvent &event)
 
virtual void OnSize (wxSizeEvent &event)
 

Protected Attributes

wxBoxSizer * m_sizerOuter
 
wxSearchCtrl * m_searchCtrl1
 
wxNotebook * m_notebook
 

Private Member Functions

void onUnitsChanged (wxCommandEvent &event)
 
void onBoardChanged (wxCommandEvent &event)
 

Private Attributes

PCB_EDIT_FRAMEm_pcbFrame
 
BOARDm_brd
 
std::vector< SEARCH_HANDLER * > m_handlers
 
std::vector< SEARCH_PANE_TAB * > m_tabs
 
wxString m_lastQuery
 

Detailed Description

Definition at line 28 of file pcb_search_pane.h.

Constructor & Destructor Documentation

◆ PCB_SEARCH_PANE()

◆ ~PCB_SEARCH_PANE()

PCB_SEARCH_PANE::~PCB_SEARCH_PANE ( )
virtual

Definition at line 54 of file pcb_search_pane.cpp.

References m_pcbFrame, onBoardChanged(), and onUnitsChanged().

Member Function Documentation

◆ AddSearcher()

void SEARCH_PANE::AddSearcher ( SEARCH_HANDLER aHandler)
inherited

◆ ClearAllResults()

void SEARCH_PANE::ClearAllResults ( )
inherited

◆ FocusSearch()

void SEARCH_PANE::FocusSearch ( )
inherited

◆ GetCurrentTab()

SEARCH_PANE_TAB * SEARCH_PANE::GetCurrentTab ( ) const
protectedinherited

◆ onBoardChanged()

void PCB_SEARCH_PANE::onBoardChanged ( wxCommandEvent &  event)
private

◆ OnBoardHighlightNetChanged()

void PCB_SEARCH_PANE::OnBoardHighlightNetChanged ( BOARD aBoard)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 144 of file pcb_search_pane.cpp.

◆ OnBoardItemAdded()

void PCB_SEARCH_PANE::OnBoardItemAdded ( BOARD aBoard,
BOARD_ITEM aBoardItem 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 85 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnBoardItemChanged()

void PCB_SEARCH_PANE::OnBoardItemChanged ( BOARD aBoard,
BOARD_ITEM aBoardItem 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 126 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnBoardItemRemoved()

void PCB_SEARCH_PANE::OnBoardItemRemoved ( BOARD aBoard,
BOARD_ITEM aBoardItem 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 103 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnBoardItemsAdded()

void PCB_SEARCH_PANE::OnBoardItemsAdded ( BOARD aBoard,
std::vector< BOARD_ITEM * > &  aBoardItems 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 94 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnBoardItemsChanged()

void PCB_SEARCH_PANE::OnBoardItemsChanged ( BOARD aBoard,
std::vector< BOARD_ITEM * > &  aBoardItems 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 135 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnBoardItemsRemoved()

void PCB_SEARCH_PANE::OnBoardItemsRemoved ( BOARD aBoard,
std::vector< BOARD_ITEM * > &  aBoardItems 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 112 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnBoardNetSettingsChanged()

void PCB_SEARCH_PANE::OnBoardNetSettingsChanged ( BOARD aBoard)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 121 of file pcb_search_pane.cpp.

◆ OnBoardRatsnestChanged()

void PCB_SEARCH_PANE::OnBoardRatsnestChanged ( BOARD aBoard)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 149 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnLanguageChange()

◆ OnNotebookPageChanged() [1/2]

void SEARCH_PANE::OnNotebookPageChanged ( wxBookCtrlEvent &  aEvent)
overrideinherited

◆ OnNotebookPageChanged() [2/2]

virtual void SEARCH_PANE_BASE::OnNotebookPageChanged ( wxNotebookEvent &  event)
inlineprotectedvirtualinherited

◆ OnSearchTextEntry()

void SEARCH_PANE::OnSearchTextEntry ( wxCommandEvent &  aEvent)
overridevirtualinherited

◆ OnSetFocus()

virtual void SEARCH_PANE_BASE::OnSetFocus ( wxFocusEvent &  event)
inlineprotectedvirtualinherited

◆ OnSize()

virtual void SEARCH_PANE_BASE::OnSize ( wxSizeEvent &  event)
inlineprotectedvirtualinherited

◆ onUnitsChanged()

void PCB_SEARCH_PANE::onUnitsChanged ( wxCommandEvent &  event)
private

Definition at line 65 of file pcb_search_pane.cpp.

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

◆ RefreshSearch()

Member Data Documentation

◆ m_brd

BOARD* PCB_SEARCH_PANE::m_brd
private

Definition at line 51 of file pcb_search_pane.h.

Referenced by onBoardChanged(), and PCB_SEARCH_PANE().

◆ m_handlers

std::vector<SEARCH_HANDLER*> SEARCH_PANE::m_handlers
privateinherited

Definition at line 75 of file search_pane.h.

Referenced by SEARCH_PANE::AddSearcher().

◆ m_lastQuery

wxString SEARCH_PANE::m_lastQuery
privateinherited

◆ m_notebook

◆ m_pcbFrame

PCB_EDIT_FRAME* PCB_SEARCH_PANE::m_pcbFrame
private

Definition at line 50 of file pcb_search_pane.h.

Referenced by onBoardChanged(), PCB_SEARCH_PANE(), and ~PCB_SEARCH_PANE().

◆ m_searchCtrl1

wxSearchCtrl* SEARCH_PANE_BASE::m_searchCtrl1
protectedinherited

◆ m_sizerOuter

wxBoxSizer* SEARCH_PANE_BASE::m_sizerOuter
protectedinherited

Definition at line 34 of file search_pane_base.h.

Referenced by SEARCH_PANE_BASE::SEARCH_PANE_BASE().

◆ m_tabs

std::vector<SEARCH_PANE_TAB*> SEARCH_PANE::m_tabs
privateinherited

Definition at line 76 of file search_pane.h.

Referenced by SEARCH_PANE::AddSearcher(), and SEARCH_PANE::ClearAllResults().


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