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

#include <sch_search_pane.h>

Inheritance diagram for SCH_SEARCH_PANE:
SEARCH_PANE SCHEMATIC_LISTENER SEARCH_PANE_BASE

Public Member Functions

 SCH_SEARCH_PANE (SCH_EDIT_FRAME *aFrame)
 
virtual ~SCH_SEARCH_PANE ()
 
virtual void OnSchItemsAdded (SCHEMATIC &aBoard, std::vector< SCH_ITEM * > &aBoardItems) override
 
virtual void OnSchItemsRemoved (SCHEMATIC &aBoard, std::vector< SCH_ITEM * > &aBoardItems) override
 
virtual void OnSchItemsChanged (SCHEMATIC &aBoard, std::vector< SCH_ITEM * > &aBoardItems) override
 
void AddSearcher (SEARCH_HANDLER *aHandler)
 
void OnSearchTextEntry (wxCommandEvent &aEvent) override
 
void OnNotebookPageChanged (wxBookCtrlEvent &aEvent) override
 
void RefreshSearch ()
 
void FocusSearch ()
 
void ClearAllResults ()
 
virtual void OnSchSheetChanged (SCHEMATIC &aSch)
 

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 onSchChanged (wxCommandEvent &event)
 

Private Attributes

SCH_EDIT_FRAMEm_schFrame
 
SCHEMATICm_sch
 
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 sch_search_pane.h.

Constructor & Destructor Documentation

◆ SCH_SEARCH_PANE()

◆ ~SCH_SEARCH_PANE()

SCH_SEARCH_PANE::~SCH_SEARCH_PANE ( )
virtual

Definition at line 56 of file sch_search_pane.cpp.

References m_schFrame, onSchChanged(), 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

◆ 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

◆ onSchChanged()

void SCH_SEARCH_PANE::onSchChanged ( wxCommandEvent &  event)
private

◆ OnSchItemsAdded()

void SCH_SEARCH_PANE::OnSchItemsAdded ( SCHEMATIC aBoard,
std::vector< SCH_ITEM * > &  aBoardItems 
)
overridevirtual

Reimplemented from SCHEMATIC_LISTENER.

Definition at line 85 of file sch_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnSchItemsChanged()

void SCH_SEARCH_PANE::OnSchItemsChanged ( SCHEMATIC aBoard,
std::vector< SCH_ITEM * > &  aBoardItems 
)
overridevirtual

Reimplemented from SCHEMATIC_LISTENER.

Definition at line 103 of file sch_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnSchItemsRemoved()

void SCH_SEARCH_PANE::OnSchItemsRemoved ( SCHEMATIC aBoard,
std::vector< SCH_ITEM * > &  aBoardItems 
)
overridevirtual

Reimplemented from SCHEMATIC_LISTENER.

Definition at line 94 of file sch_search_pane.cpp.

References SEARCH_PANE::RefreshSearch().

◆ OnSchSheetChanged()

virtual void SCHEMATIC_LISTENER::OnSchSheetChanged ( SCHEMATIC aSch)
inlinevirtualinherited

Reimplemented in DIALOG_SYMBOL_FIELDS_TABLE.

Definition at line 66 of file schematic.h.

Referenced by SCHEMATIC::OnSchSheetChanged().

◆ 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 SCH_SEARCH_PANE::onUnitsChanged ( wxCommandEvent &  event)
private

◆ RefreshSearch()

Member Data Documentation

◆ 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_sch

SCHEMATIC* SCH_SEARCH_PANE::m_sch
private

Definition at line 45 of file sch_search_pane.h.

Referenced by SCH_SEARCH_PANE().

◆ m_schFrame

SCH_EDIT_FRAME* SCH_SEARCH_PANE::m_schFrame
private

Definition at line 44 of file sch_search_pane.h.

Referenced by SCH_SEARCH_PANE(), and ~SCH_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: