KiCad PCB EDA Suite
|
#include <pcb_search_pane.h>
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_TAB * | GetCurrentTab () 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_FRAME * | m_pcbFrame |
BOARD * | m_brd |
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 28 of file pcb_search_pane.h.
PCB_SEARCH_PANE::PCB_SEARCH_PANE | ( | PCB_EDIT_FRAME * | aFrame | ) |
Definition at line 25 of file pcb_search_pane.cpp.
References BOARD::AddListener(), SEARCH_PANE::AddSearcher(), PCB_BASE_FRAME::GetBoard(), KIUI::GetDockedPaneFont(), m_brd, SEARCH_PANE_BASE::m_notebook, m_pcbFrame, onBoardChanged(), and onUnitsChanged().
|
virtual |
Definition at line 54 of file pcb_search_pane.cpp.
References m_pcbFrame, onBoardChanged(), and onUnitsChanged().
|
inherited |
Definition at line 135 of file search_pane.cpp.
References SEARCH_HANDLER::GetName(), SEARCH_PANE::m_handlers, SEARCH_PANE_BASE::m_notebook, and SEARCH_PANE::m_tabs.
Referenced by PCB_SEARCH_PANE(), and SCH_SEARCH_PANE::SCH_SEARCH_PANE().
|
inherited |
Definition at line 154 of file search_pane.cpp.
References SEARCH_PANE::m_tabs.
Referenced by onBoardChanged(), SCH_SEARCH_PANE::onSchChanged(), SCH_SEARCH_PANE::onUnitsChanged(), and SCH_SEARCH_PANE::SCH_SEARCH_PANE().
|
inherited |
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().
|
protectedinherited |
Definition at line 187 of file search_pane.cpp.
References SEARCH_PANE_BASE::m_notebook.
Referenced by SEARCH_PANE::OnNotebookPageChanged(), and SEARCH_PANE::RefreshSearch().
|
private |
Definition at line 71 of file pcb_search_pane.cpp.
References BOARD::AddListener(), SEARCH_PANE::ClearAllResults(), PCB_BASE_FRAME::GetBoard(), m_brd, m_pcbFrame, and SEARCH_PANE::RefreshSearch().
Referenced by PCB_SEARCH_PANE(), and ~PCB_SEARCH_PANE().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 157 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 144 of file pcb_search_pane.cpp.
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 85 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 126 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 103 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 94 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 135 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 112 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 121 of file pcb_search_pane.cpp.
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 149 of file pcb_search_pane.cpp.
References SEARCH_PANE::RefreshSearch().
|
protectedinherited |
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::SEARCH_PANE(), and SEARCH_PANE::~SEARCH_PANE().
|
overrideinherited |
Definition at line 178 of file search_pane.cpp.
References SEARCH_PANE::GetCurrentTab(), SEARCH_PANE::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().
|
overridevirtualinherited |
Reimplemented from SEARCH_PANE_BASE.
Definition at line 163 of file search_pane.cpp.
References SEARCH_PANE::m_lastQuery, SEARCH_PANE_BASE::m_searchCtrl1, and SEARCH_PANE::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().
|
private |
Definition at line 65 of file pcb_search_pane.cpp.
Referenced by PCB_SEARCH_PANE(), and ~PCB_SEARCH_PANE().
|
inherited |
Definition at line 145 of file search_pane.cpp.
References SEARCH_PANE::GetCurrentTab(), SEARCH_PANE::m_lastQuery, and SEARCH_PANE_TAB::Search().
Referenced by onBoardChanged(), OnBoardCompositeUpdate(), OnBoardItemAdded(), OnBoardItemChanged(), OnBoardItemRemoved(), OnBoardItemsAdded(), OnBoardItemsChanged(), OnBoardItemsRemoved(), OnBoardRatsnestChanged(), SCH_SEARCH_PANE::onSchChanged(), SCH_SEARCH_PANE::OnSchItemsAdded(), SCH_SEARCH_PANE::OnSchItemsChanged(), SCH_SEARCH_PANE::OnSchItemsRemoved(), SEARCH_PANE::OnSearchTextEntry(), and SCH_SEARCH_PANE::onUnitsChanged().
|
private |
Definition at line 54 of file pcb_search_pane.h.
Referenced by onBoardChanged(), and PCB_SEARCH_PANE().
|
privateinherited |
Definition at line 89 of file search_pane.h.
Referenced by SEARCH_PANE::SEARCH_PANE(), and SEARCH_PANE::~SEARCH_PANE().
|
privateinherited |
Definition at line 86 of file search_pane.h.
Referenced by SEARCH_PANE::AddSearcher().
|
privateinherited |
Definition at line 88 of file search_pane.h.
Referenced by SEARCH_PANE::OnNotebookPageChanged(), SEARCH_PANE::OnSearchTextEntry(), and SEARCH_PANE::RefreshSearch().
|
privateinherited |
Definition at line 90 of file search_pane.h.
Referenced by SEARCH_PANE::SEARCH_PANE(), and SEARCH_PANE::~SEARCH_PANE().
|
protectedinherited |
Definition at line 39 of file search_pane_base.h.
Referenced by SEARCH_PANE::SEARCH_PANE(), and SEARCH_PANE_BASE::SEARCH_PANE_BASE().
|
protectedinherited |
Definition at line 41 of file search_pane_base.h.
Referenced by SEARCH_PANE::AddSearcher(), SEARCH_PANE::GetCurrentTab(), SEARCH_PANE::OnLanguageChange(), PCB_SEARCH_PANE(), SCH_SEARCH_PANE::SCH_SEARCH_PANE(), SEARCH_PANE_BASE::SEARCH_PANE_BASE(), and SEARCH_PANE_BASE::~SEARCH_PANE_BASE().
|
private |
Definition at line 53 of file pcb_search_pane.h.
Referenced by onBoardChanged(), PCB_SEARCH_PANE(), and ~PCB_SEARCH_PANE().
|
protectedinherited |
Definition at line 40 of file search_pane_base.h.
Referenced by SEARCH_PANE::FocusSearch(), SEARCH_PANE::OnLanguageChange(), SEARCH_PANE::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().
|
privateinherited |
Definition at line 87 of file search_pane.h.
Referenced by SEARCH_PANE::AddSearcher(), and SEARCH_PANE::ClearAllResults().