KiCad PCB EDA Suite
|
#include <search_handlers.h>
Public Member Functions | |
SYMBOL_SEARCH_HANDLER (SCH_EDIT_FRAME *aFrame) | |
int | Search (const wxString &aQuery) override |
void | ActivateItem (long aItemRow) override |
wxString | GetResultCell (int aRow, int aCol) override |
void | FindAll (const std::function< bool(SCH_ITEM *, SCH_SHEET_PATH *)> &aCollector) |
void | Sort (int aCol, bool aAscending, std::vector< long > *aSelection) override |
void | SelectItems (std::vector< long > &aItemRows) override |
wxString | GetName () const |
std::vector< std::tuple< wxString, int, wxListColumnFormat > > | GetColumns () const |
Protected Member Functions | |
wxString | getResultCell (const SCH_SEARCH_HIT &aHit, int aCol) override |
Protected Attributes | |
SCH_EDIT_FRAME * | m_frame |
std::vector< SCH_SEARCH_HIT > | m_hitlist |
wxString | m_name |
std::vector< std::tuple< wxString, int, wxListColumnFormat > > | m_columns |
Definition at line 74 of file eeschema/widgets/search_handlers.h.
SYMBOL_SEARCH_HANDLER::SYMBOL_SEARCH_HANDLER | ( | SCH_EDIT_FRAME * | aFrame | ) |
Definition at line 157 of file eeschema/widgets/search_handlers.cpp.
References _HKI, and SEARCH_HANDLER::m_columns.
|
overridevirtualinherited |
Reimplemented from SEARCH_HANDLER.
Definition at line 33 of file eeschema/widgets/search_handlers.cpp.
References TOOLS_HOLDER::GetToolManager(), SCH_SEARCH_HANDLER::m_frame, EE_ACTIONS::properties, TOOL_MANAGER::RunAction(), and SCH_SEARCH_HANDLER::SelectItems().
|
inherited |
Definition at line 42 of file eeschema/widgets/search_handlers.cpp.
References SCH_SCREENS::BuildClientSheetPathList(), SCH_SCREENS::GetFirst(), SCH_SCREENS::GetNext(), SCH_SEARCH_HANDLER::m_frame, SCH_SEARCH_HANDLER::m_hitlist, SCHEMATIC::Root(), and SCH_EDIT_FRAME::Schematic().
Referenced by Search(), POWER_SEARCH_HANDLER::Search(), TEXT_SEARCH_HANDLER::Search(), and LABEL_SEARCH_HANDLER::Search().
|
inlineinherited |
Definition at line 43 of file search_pane.h.
References SEARCH_HANDLER::m_columns.
Referenced by SEARCH_PANE_LISTVIEW::RefreshColumnNames().
|
inlineinherited |
Definition at line 41 of file search_pane.h.
References SEARCH_HANDLER::m_name.
Referenced by SEARCH_PANE::AddSearcher(), and SEARCH_PANE::OnLanguageChange().
|
overrideprotectedvirtual |
Implements SCH_SEARCH_HANDLER.
Definition at line 211 of file eeschema/widgets/search_handlers.cpp.
References FOOTPRINT_FIELD, SYMBOL::GetDNP(), SYMBOL::GetExcludedFromBoard(), SYMBOL::GetExcludedFromBOM(), SYMBOL::GetExcludedFromSim(), SCH_SYMBOL::GetField(), SCH_SHEET_PATH::GetPageNumber(), SCH_SYMBOL::GetPosition(), SCH_SYMBOL::GetRef(), SCH_FIELD::GetShownText(), SCH_SEARCH_HIT::item, SCH_SEARCH_HANDLER::m_frame, UNITS_PROVIDER::MessageTextFromValue(), SCH_SEARCH_HIT::sheetPath, VALUE_FIELD, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlineoverridevirtualinherited |
Implements SEARCH_HANDLER.
Definition at line 49 of file eeschema/widgets/search_handlers.h.
References SCH_SEARCH_HANDLER::getResultCell(), SCH_SEARCH_HIT::item, and SCH_SEARCH_HANDLER::m_hitlist.
|
overridevirtual |
Implements SEARCH_HANDLER.
Definition at line 173 of file eeschema/widgets/search_handlers.cpp.
References SCH_SEARCH_HANDLER::FindAll(), EDA_SEARCH_DATA::findString, SCH_SYMBOL::GetFields(), SCH_SYMBOL::IsMissingLibSymbol(), SCH_SYMBOL::IsPower(), SCH_SEARCH_HANDLER::m_hitlist, EDA_SEARCH_DATA::matchMode, SCH_SYMBOL_T, SCH_SEARCH_DATA::searchCurrentSheetOnly, and EDA_ITEM::Type().
|
overridevirtualinherited |
Reimplemented from SEARCH_HANDLER.
Definition at line 102 of file eeschema/widgets/search_handlers.cpp.
References EE_ACTIONS::addItemsToSel, ACTIONS::centerSelection, EE_ACTIONS::clearSelection, EDA_BASE_FRAME::config(), SCH_EDIT_FRAME::DisplayCurrentSheet(), SCH_BASE_FRAME::GetCanvas(), SCH_EDIT_FRAME::GetCurrentSheet(), TOOLS_HOLDER::GetToolManager(), SCH_SEARCH_HANDLER::m_frame, SCH_SEARCH_HANDLER::m_hitlist, APP_SETTINGS_BASE::m_SearchPane, APP_SETTINGS_BASE::SEARCH_PANE::NONE, APP_SETTINGS_BASE::SEARCH_PANE::PAN, EDA_DRAW_PANEL_GAL::Refresh(), TOOL_MANAGER::RunAction(), APP_SETTINGS_BASE::SEARCH_PANE::selection_zoom, SCH_EDIT_FRAME::SetCurrentSheet(), APP_SETTINGS_BASE::SEARCH_PANE::ZOOM, and ACTIONS::zoomFitSelection.
Referenced by SCH_SEARCH_HANDLER::ActivateItem().
|
overridevirtualinherited |
Implements SEARCH_HANDLER.
Definition at line 68 of file eeschema/widgets/search_handlers.cpp.
References alg::contains(), and SCH_SEARCH_HANDLER::m_hitlist.
|
protectedinherited |
Definition at line 57 of file search_pane.h.
Referenced by FOOTPRINT_SEARCH_HANDLER::FOOTPRINT_SEARCH_HANDLER(), SEARCH_HANDLER::GetColumns(), LABEL_SEARCH_HANDLER::LABEL_SEARCH_HANDLER(), NETS_SEARCH_HANDLER::NETS_SEARCH_HANDLER(), POWER_SEARCH_HANDLER::POWER_SEARCH_HANDLER(), RATSNEST_SEARCH_HANDLER::RATSNEST_SEARCH_HANDLER(), SYMBOL_SEARCH_HANDLER(), TEXT_SEARCH_HANDLER::TEXT_SEARCH_HANDLER(), and ZONE_SEARCH_HANDLER::ZONE_SEARCH_HANDLER().
|
protectedinherited |
Definition at line 70 of file eeschema/widgets/search_handlers.h.
Referenced by SCH_SEARCH_HANDLER::ActivateItem(), SCH_SEARCH_HANDLER::FindAll(), getResultCell(), POWER_SEARCH_HANDLER::getResultCell(), TEXT_SEARCH_HANDLER::getResultCell(), LABEL_SEARCH_HANDLER::getResultCell(), and SCH_SEARCH_HANDLER::SelectItems().
|
protectedinherited |
Definition at line 71 of file eeschema/widgets/search_handlers.h.
Referenced by SCH_SEARCH_HANDLER::FindAll(), SCH_SEARCH_HANDLER::GetResultCell(), Search(), POWER_SEARCH_HANDLER::Search(), TEXT_SEARCH_HANDLER::Search(), LABEL_SEARCH_HANDLER::Search(), SCH_SEARCH_HANDLER::SelectItems(), and SCH_SEARCH_HANDLER::Sort().
|
protectedinherited |
Definition at line 56 of file search_pane.h.
Referenced by SEARCH_HANDLER::GetName().