KiCad PCB EDA Suite
Loading...
Searching...
No Matches
POWER_SEARCH_HANDLER Class Reference

#include <search_handlers.h>

Inheritance diagram for POWER_SEARCH_HANDLER:
SCH_SEARCH_HANDLER SEARCH_HANDLER

Public Member Functions

 POWER_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_FRAMEm_frame
 
std::vector< SCH_SEARCH_HITm_hitlist
 
wxString m_name
 
std::vector< std::tuple< wxString, int, wxListColumnFormat > > m_columns
 

Detailed Description

Definition at line 85 of file eeschema/widgets/search_handlers.h.

Constructor & Destructor Documentation

◆ POWER_SEARCH_HANDLER()

POWER_SEARCH_HANDLER::POWER_SEARCH_HANDLER ( SCH_EDIT_FRAME aFrame)

Definition at line 243 of file eeschema/widgets/search_handlers.cpp.

References _HKI, and SEARCH_HANDLER::m_columns.

Member Function Documentation

◆ ActivateItem()

void SCH_SEARCH_HANDLER::ActivateItem ( long  aItemRow)
overridevirtualinherited

◆ FindAll()

◆ GetColumns()

std::vector< std::tuple< wxString, int, wxListColumnFormat > > SEARCH_HANDLER::GetColumns ( ) const
inlineinherited

Definition at line 43 of file search_pane.h.

References SEARCH_HANDLER::m_columns.

Referenced by SEARCH_PANE_LISTVIEW::RefreshColumnNames().

◆ GetName()

wxString SEARCH_HANDLER::GetName ( ) const
inlineinherited

Definition at line 41 of file search_pane.h.

References SEARCH_HANDLER::m_name.

Referenced by SEARCH_PANE::AddSearcher(), and SEARCH_PANE::OnLanguageChange().

◆ getResultCell()

◆ GetResultCell()

wxString SCH_SEARCH_HANDLER::GetResultCell ( int  aRow,
int  aCol 
)
inlineoverridevirtualinherited

◆ Search()

◆ SelectItems()

◆ Sort()

void SCH_SEARCH_HANDLER::Sort ( int  aCol,
bool  aAscending,
std::vector< long > *  aSelection 
)
overridevirtualinherited

Member Data Documentation

◆ m_columns

◆ m_frame

◆ m_hitlist

◆ m_name

wxString SEARCH_HANDLER::m_name
protectedinherited

Definition at line 56 of file search_pane.h.

Referenced by SEARCH_HANDLER::GetName().


The documentation for this class was generated from the following files: