KiCad PCB EDA Suite
|
#include <search_pane.h>
Public Member Functions | |
SEARCH_PANE (EDA_DRAW_FRAME *aFrame) | |
virtual | ~SEARCH_PANE () |
void | AddSearcher (SEARCH_HANDLER *aHandler) |
void | OnSearchTextEntry (wxCommandEvent &aEvent) override |
void | OnNotebookPageChanged (wxBookCtrlEvent &aEvent) override |
void | RefreshSearch () |
void | FocusSearch () |
void | ClearAllResults () |
Protected Member Functions | |
void | OnLanguageChange (wxCommandEvent &aEvent) |
SEARCH_PANE_TAB * | GetCurrentTab () const |
virtual void | OnSetFocus (wxFocusEvent &event) |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | OnNotebookPageChanged (wxNotebookEvent &event) |
Protected Attributes | |
wxBoxSizer * | m_sizerOuter |
wxBitmapButton * | m_menuButton |
wxSearchCtrl * | m_searchCtrl1 |
wxNotebook * | m_notebook |
Private Attributes | |
std::vector< SEARCH_HANDLER * > | m_handlers |
std::vector< SEARCH_PANE_TAB * > | m_tabs |
wxString | m_lastQuery |
EDA_DRAW_FRAME * | m_frame |
ACTION_MENU * | m_menu |
Definition at line 67 of file search_pane.h.
SEARCH_PANE::SEARCH_PANE | ( | EDA_DRAW_FRAME * | aFrame | ) |
Definition at line 91 of file search_pane.cpp.
References KiBitmapBundle(), m_frame, m_menu, SEARCH_PANE_BASE::m_menuButton, and OnLanguageChange().
|
virtual |
Definition at line 108 of file search_pane.cpp.
References m_frame, m_menu, and OnLanguageChange().
void SEARCH_PANE::AddSearcher | ( | SEARCH_HANDLER * | aHandler | ) |
Definition at line 135 of file search_pane.cpp.
References SEARCH_HANDLER::GetName(), m_handlers, SEARCH_PANE_BASE::m_notebook, and m_tabs.
Referenced by PCB_SEARCH_PANE::PCB_SEARCH_PANE(), and SCH_SEARCH_PANE::SCH_SEARCH_PANE().
void SEARCH_PANE::ClearAllResults | ( | ) |
Definition at line 154 of file search_pane.cpp.
References m_tabs.
Referenced by PCB_SEARCH_PANE::onBoardChanged(), SCH_SEARCH_PANE::onSchChanged(), SCH_SEARCH_PANE::onUnitsChanged(), and SCH_SEARCH_PANE::SCH_SEARCH_PANE().
void SEARCH_PANE::FocusSearch | ( | ) |
Definition at line 172 of file search_pane.cpp.
References SEARCH_PANE_BASE::m_searchCtrl1.
Referenced by SCH_EDIT_FRAME::ToggleSearch(), and PCB_EDIT_FRAME::ToggleSearch().
|
protected |
Definition at line 187 of file search_pane.cpp.
References SEARCH_PANE_BASE::m_notebook.
Referenced by OnNotebookPageChanged(), and RefreshSearch().
|
protected |
Definition at line 116 of file search_pane.cpp.
References _, SEARCH_HANDLER::GetName(), SEARCH_PANE_TAB::GetSearchHandler(), SEARCH_PANE_BASE::m_notebook, SEARCH_PANE_BASE::m_searchCtrl1, and SEARCH_PANE_TAB::RefreshColumnNames().
Referenced by SEARCH_PANE(), and ~SEARCH_PANE().
|
override |
Definition at line 178 of file search_pane.cpp.
References GetCurrentTab(), m_lastQuery, and SEARCH_PANE_TAB::Search().
|
inlineprotectedvirtualinherited |
Definition at line 47 of file search_pane_base.h.
Referenced by SEARCH_PANE_BASE::SEARCH_PANE_BASE(), and SEARCH_PANE_BASE::~SEARCH_PANE_BASE().
|
overridevirtual |
Reimplemented from SEARCH_PANE_BASE.
Definition at line 163 of file search_pane.cpp.
References m_lastQuery, SEARCH_PANE_BASE::m_searchCtrl1, and RefreshSearch().
|
inlineprotectedvirtualinherited |
Definition at line 44 of file search_pane_base.h.
Referenced by SEARCH_PANE_BASE::SEARCH_PANE_BASE(), and SEARCH_PANE_BASE::~SEARCH_PANE_BASE().
|
inlineprotectedvirtualinherited |
Definition at line 45 of file search_pane_base.h.
Referenced by SEARCH_PANE_BASE::SEARCH_PANE_BASE(), and SEARCH_PANE_BASE::~SEARCH_PANE_BASE().
void SEARCH_PANE::RefreshSearch | ( | ) |
Definition at line 145 of file search_pane.cpp.
References GetCurrentTab(), m_lastQuery, and SEARCH_PANE_TAB::Search().
Referenced by PCB_SEARCH_PANE::onBoardChanged(), PCB_SEARCH_PANE::OnBoardCompositeUpdate(), PCB_SEARCH_PANE::OnBoardItemAdded(), PCB_SEARCH_PANE::OnBoardItemChanged(), PCB_SEARCH_PANE::OnBoardItemRemoved(), PCB_SEARCH_PANE::OnBoardItemsAdded(), PCB_SEARCH_PANE::OnBoardItemsChanged(), PCB_SEARCH_PANE::OnBoardItemsRemoved(), PCB_SEARCH_PANE::OnBoardRatsnestChanged(), SCH_SEARCH_PANE::onSchChanged(), SCH_SEARCH_PANE::OnSchItemsAdded(), SCH_SEARCH_PANE::OnSchItemsChanged(), SCH_SEARCH_PANE::OnSchItemsRemoved(), OnSearchTextEntry(), and SCH_SEARCH_PANE::onUnitsChanged().
|
private |
Definition at line 89 of file search_pane.h.
Referenced by SEARCH_PANE(), and ~SEARCH_PANE().
|
private |
Definition at line 86 of file search_pane.h.
Referenced by AddSearcher().
|
private |
Definition at line 88 of file search_pane.h.
Referenced by OnNotebookPageChanged(), OnSearchTextEntry(), and RefreshSearch().
|
private |
Definition at line 90 of file search_pane.h.
Referenced by SEARCH_PANE(), and ~SEARCH_PANE().
|
protectedinherited |
Definition at line 39 of file search_pane_base.h.
Referenced by SEARCH_PANE(), and SEARCH_PANE_BASE::SEARCH_PANE_BASE().
|
protectedinherited |
Definition at line 41 of file search_pane_base.h.
Referenced by AddSearcher(), GetCurrentTab(), OnLanguageChange(), PCB_SEARCH_PANE::PCB_SEARCH_PANE(), SCH_SEARCH_PANE::SCH_SEARCH_PANE(), SEARCH_PANE_BASE::SEARCH_PANE_BASE(), and SEARCH_PANE_BASE::~SEARCH_PANE_BASE().
|
protectedinherited |
Definition at line 40 of file search_pane_base.h.
Referenced by FocusSearch(), OnLanguageChange(), OnSearchTextEntry(), SEARCH_PANE_BASE::SEARCH_PANE_BASE(), and SEARCH_PANE_BASE::~SEARCH_PANE_BASE().
|
protectedinherited |
Definition at line 38 of file search_pane_base.h.
Referenced by SEARCH_PANE_BASE::SEARCH_PANE_BASE().
|
private |
Definition at line 87 of file search_pane.h.
Referenced by AddSearcher(), and ClearAllResults().