KiCad PCB EDA Suite
|
#include <search_handlers.h>
Public Member Functions | |
RATSNEST_SEARCH_HANDLER (PCB_EDIT_FRAME *aFrame) | |
int | Search (const wxString &aQuery) override |
void | SelectItems (std::vector< long > &aItemRows) override |
void | ActivateItem (long aItemRow) override |
wxString | GetResultCell (int aRow, int aCol) override |
void | Sort (int aCol, bool aAscending, std::vector< long > *aSelection) 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 117 of file pcbnew/widgets/search_handlers.h.
RATSNEST_SEARCH_HANDLER::RATSNEST_SEARCH_HANDLER | ( | PCB_EDIT_FRAME * | aFrame | ) |
Definition at line 385 of file pcbnew/widgets/search_handlers.cpp.
References _HKI, and SEARCH_HANDLER::m_columns.
|
overridevirtual |
Reimplemented from PCB_SEARCH_HANDLER.
Definition at line 463 of file pcbnew/widgets/search_handlers.cpp.
References _, PCB_SEARCH_HANDLER::m_frame, and PCB_EDIT_FRAME::ShowBoardSetupDialog().
|
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().
|
overrideprivatevirtual |
Implements PCB_SEARCH_HANDLER.
Definition at line 420 of file pcbnew/widgets/search_handlers.cpp.
References _, NETCLASS::GetName(), NETINFO_ITEM::GetNetClass(), NETINFO_ITEM::GetNetCode(), NETINFO_ITEM::GetNetname(), 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 393 of file pcbnew/widgets/search_handlers.cpp.
References EDA_SEARCH_DATA::findString, PCB_BASE_FRAME::GetBoard(), BOARD::GetConnectivity(), RN_NET::GetEdges(), BOARD::GetNetInfo(), PCB_SEARCH_HANDLER::m_frame, PCB_SEARCH_HANDLER::m_hitlist, and EDA_SEARCH_DATA::matchMode.
|
overridevirtual |
Reimplemented from PCB_SEARCH_HANDLER.
Definition at line 441 of file pcbnew/widgets/search_handlers.cpp.
References PCB_BASE_FRAME::GetCanvas(), NETINFO_ITEM::GetNetCode(), KIGFX::VIEW::GetPainter(), KIGFX::PAINTER::GetSettings(), PCB_DRAW_PANEL_GAL::GetView(), PCB_SEARCH_HANDLER::m_frame, PCB_SEARCH_HANDLER::m_hitlist, EDA_DRAW_PANEL_GAL::Refresh(), KIGFX::RENDER_SETTINGS::SetHighlight(), and KIGFX::VIEW::UpdateAllLayersColor().
|
overridevirtualinherited |
Implements SEARCH_HANDLER.
Definition at line 46 of file pcbnew/widgets/search_handlers.cpp.
References alg::contains(), and PCB_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(), SYMBOL_SEARCH_HANDLER::SYMBOL_SEARCH_HANDLER(), TEXT_SEARCH_HANDLER::TEXT_SEARCH_HANDLER(), and ZONE_SEARCH_HANDLER::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(), ActivateItem(), FOOTPRINT_SEARCH_HANDLER::getResultCell(), ZONE_SEARCH_HANDLER::getResultCell(), FOOTPRINT_SEARCH_HANDLER::Search(), ZONE_SEARCH_HANDLER::Search(), NETS_SEARCH_HANDLER::Search(), Search(), PCB_SEARCH_HANDLER::SelectItems(), NETS_SEARCH_HANDLER::SelectItems(), and SelectItems().
|
protectedinherited |
Definition at line 63 of file pcbnew/widgets/search_handlers.h.
Referenced by PCB_SEARCH_HANDLER::GetResultCell(), FOOTPRINT_SEARCH_HANDLER::Search(), ZONE_SEARCH_HANDLER::Search(), NETS_SEARCH_HANDLER::Search(), Search(), PCB_SEARCH_HANDLER::SelectItems(), NETS_SEARCH_HANDLER::SelectItems(), SelectItems(), and PCB_SEARCH_HANDLER::Sort().
|
protectedinherited |
Definition at line 56 of file search_pane.h.
Referenced by SEARCH_HANDLER::GetName().