KiCad PCB EDA Suite
|
#include <search_handlers.h>
Public Member Functions | |
ZONE_SEARCH_HANDLER (PCB_EDIT_FRAME *aFrame) | |
int | Search (const wxString &aQuery) override |
wxString | GetResultCell (int aRow, int aCol) override |
void | Sort (int aCol, bool aAscending, std::vector< long > *aSelection) override |
void | SelectItems (std::vector< long > &aItemRows) override |
void | ActivateItem (long aItemRow) override |
wxString | GetName () const |
std::vector< std::tuple< wxString, int, wxListColumnFormat > > | GetColumns () const |
Protected Attributes | |
PCB_EDIT_FRAME * | m_frame |
std::vector< BOARD_ITEM * > | m_hitlist |
wxString | m_name |
std::vector< std::tuple< wxString, int, wxListColumnFormat > > | m_columns |
Private Member Functions | |
wxString | getResultCell (BOARD_ITEM *aItem, int aCol) override |
Definition at line 79 of file pcbnew/widgets/search_handlers.h.
ZONE_SEARCH_HANDLER::ZONE_SEARCH_HANDLER | ( | PCB_EDIT_FRAME * | aFrame | ) |
Definition at line 157 of file pcbnew/widgets/search_handlers.cpp.
References _HKI, and SEARCH_HANDLER::m_columns.
|
overridevirtualinherited |
Reimplemented from SEARCH_HANDLER.
Reimplemented in NETS_SEARCH_HANDLER, and RATSNEST_SEARCH_HANDLER.
Definition at line 36 of file pcbnew/widgets/search_handlers.cpp.
References TOOLS_HOLDER::GetToolManager(), PCB_SEARCH_HANDLER::m_frame, PCB_ACTIONS::properties, TOOL_MANAGER::RunAction(), and PCB_SEARCH_HANDLER::SelectItems().
|
inlineinherited |
Definition at line 39 of file search_pane.h.
References SEARCH_HANDLER::m_columns.
Referenced by SEARCH_PANE_LISTVIEW::RefreshColumnNames().
|
inlineinherited |
Definition at line 37 of file search_pane.h.
References SEARCH_HANDLER::m_name.
Referenced by SEARCH_PANE::AddSearcher(), and SEARCH_PANE::OnLanguageChange().
|
overrideprivatevirtual |
Implements PCB_SEARCH_HANDLER.
Definition at line 192 of file pcbnew/widgets/search_handlers.cpp.
References ORIGIN_TRANSFORMS::ABS_X_COORD, ORIGIN_TRANSFORMS::ABS_Y_COORD, BOARD::Add(), ZONE::GetAssignedPriority(), PCB_BASE_FRAME::GetBoard(), BOARD::GetLayerName(), ZONE::GetLayerSet(), BOARD_CONNECTED_ITEM::GetNetname(), BOARD_ITEM::GetX(), BOARD_ITEM::GetY(), ZONE::GetZoneName(), PCB_SEARCH_HANDLER::m_frame, PCB_BASE_FRAME::MessageTextFromCoord(), LSET::Seq(), and UnescapeString().
|
inlineoverridevirtualinherited |
Implements SEARCH_HANDLER.
Definition at line 40 of file pcbnew/widgets/search_handlers.h.
References PCB_SEARCH_HANDLER::getResultCell(), and PCB_SEARCH_HANDLER::m_hitlist.
|
overridevirtual |
Implements SEARCH_HANDLER.
Definition at line 169 of file pcbnew/widgets/search_handlers.cpp.
References EDA_SEARCH_DATA::findString, PCB_BASE_FRAME::GetBoard(), PCB_SEARCH_HANDLER::m_frame, PCB_SEARCH_HANDLER::m_hitlist, ZONE::Matches(), EDA_SEARCH_DATA::matchMode, and BOARD::Zones().
|
overridevirtualinherited |
Reimplemented from SEARCH_HANDLER.
Reimplemented in NETS_SEARCH_HANDLER, and RATSNEST_SEARCH_HANDLER.
Definition at line 80 of file pcbnew/widgets/search_handlers.cpp.
References PCB_BASE_FRAME::GetCanvas(), TOOLS_HOLDER::GetToolManager(), PCB_SEARCH_HANDLER::m_frame, PCB_SEARCH_HANDLER::m_hitlist, EDA_DRAW_PANEL_GAL::Refresh(), TOOL_MANAGER::RunAction(), PCB_ACTIONS::selectionClear, and PCB_ACTIONS::selectItems.
Referenced by PCB_SEARCH_HANDLER::ActivateItem().
|
overridevirtualinherited |
Implements SEARCH_HANDLER.
Definition at line 45 of file pcbnew/widgets/search_handlers.cpp.
References alg::contains(), and PCB_SEARCH_HANDLER::m_hitlist.
|
protectedinherited |
Definition at line 53 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::SYMBOL_SEARCH_HANDLER(), TEXT_SEARCH_HANDLER::TEXT_SEARCH_HANDLER(), and ZONE_SEARCH_HANDLER().
|
protectedinherited |
Definition at line 62 of file pcbnew/widgets/search_handlers.h.
Referenced by PCB_SEARCH_HANDLER::ActivateItem(), NETS_SEARCH_HANDLER::ActivateItem(), RATSNEST_SEARCH_HANDLER::ActivateItem(), FOOTPRINT_SEARCH_HANDLER::getResultCell(), getResultCell(), FOOTPRINT_SEARCH_HANDLER::Search(), Search(), NETS_SEARCH_HANDLER::Search(), RATSNEST_SEARCH_HANDLER::Search(), PCB_SEARCH_HANDLER::SelectItems(), NETS_SEARCH_HANDLER::SelectItems(), and RATSNEST_SEARCH_HANDLER::SelectItems().
|
protectedinherited |
Definition at line 63 of file pcbnew/widgets/search_handlers.h.
Referenced by PCB_SEARCH_HANDLER::GetResultCell(), FOOTPRINT_SEARCH_HANDLER::Search(), Search(), NETS_SEARCH_HANDLER::Search(), RATSNEST_SEARCH_HANDLER::Search(), PCB_SEARCH_HANDLER::SelectItems(), NETS_SEARCH_HANDLER::SelectItems(), RATSNEST_SEARCH_HANDLER::SelectItems(), and PCB_SEARCH_HANDLER::Sort().
|
protectedinherited |
Definition at line 52 of file search_pane.h.
Referenced by SEARCH_HANDLER::GetName().