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
 
virtual void OnBoardCompositeUpdate (BOARD &aBoard, std::vector< BOARD_ITEM * > &aAddedItems, std::vector< BOARD_ITEM * > &aRemovedItems, std::vector< BOARD_ITEM * > &aDeletedItems) override
 
void AddSearcher (SEARCH_HANDLER *aHandler)
 
void OnSearchTextEntry (wxCommandEvent &aEvent) override
 
void OnNotebookPageChanged (wxBookCtrlEvent &aEvent) override
 
void RefreshSearch ()
 
void FocusSearch ()
 
void ClearAllResults ()
 

Protected Member Functions

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

Protected Attributes

wxBoxSizer * m_sizerOuter
 
wxBitmapButton * m_menuButton
 
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
 
EDA_DRAW_FRAMEm_frame
 
ACTION_MENUm_menu
 

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

◆ OnBoardCompositeUpdate()

void PCB_SEARCH_PANE::OnBoardCompositeUpdate ( BOARD aBoard,
std::vector< BOARD_ITEM * > &  aAddedItems,
std::vector< BOARD_ITEM * > &  aRemovedItems,
std::vector< BOARD_ITEM * > &  aDeletedItems 
)
overridevirtual

Reimplemented from BOARD_LISTENER.

Definition at line 157 of file pcb_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ 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()

void SEARCH_PANE::OnLanguageChange ( wxCommandEvent &  aEvent)
protectedinherited

◆ 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 54 of file pcb_search_pane.h.

Referenced by onBoardChanged(), and PCB_SEARCH_PANE().

◆ m_frame

EDA_DRAW_FRAME* SEARCH_PANE::m_frame
privateinherited

Definition at line 89 of file search_pane.h.

Referenced by SEARCH_PANE::SEARCH_PANE(), and SEARCH_PANE::~SEARCH_PANE().

◆ m_handlers

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

Definition at line 86 of file search_pane.h.

Referenced by SEARCH_PANE::AddSearcher().

◆ m_lastQuery

wxString SEARCH_PANE::m_lastQuery
privateinherited

◆ m_menu

ACTION_MENU* SEARCH_PANE::m_menu
privateinherited

Definition at line 90 of file search_pane.h.

Referenced by SEARCH_PANE::SEARCH_PANE(), and SEARCH_PANE::~SEARCH_PANE().

◆ m_menuButton

wxBitmapButton* SEARCH_PANE_BASE::m_menuButton
protectedinherited

◆ m_notebook

◆ m_pcbFrame

PCB_EDIT_FRAME* PCB_SEARCH_PANE::m_pcbFrame
private

Definition at line 53 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 38 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 87 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: