KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SEARCH_HANDLER Class Referenceabstract

#include <search_pane.h>

Inheritance diagram for SEARCH_HANDLER:
PCB_SEARCH_HANDLER SCH_SEARCH_HANDLER FOOTPRINT_SEARCH_HANDLER NETS_SEARCH_HANDLER RATSNEST_SEARCH_HANDLER TEXT_SEARCH_HANDLER ZONE_SEARCH_HANDLER LABEL_SEARCH_HANDLER POWER_SEARCH_HANDLER SYMBOL_SEARCH_HANDLER TEXT_SEARCH_HANDLER

Public Member Functions

 SEARCH_HANDLER (const wxString &aName)
 
wxString GetName () const
 
std::vector< std::tuple< wxString, int, wxListColumnFormat > > GetColumns () const
 
virtual int Search (const wxString &string)=0
 
virtual wxString GetResultCell (int row, int col)=0
 
virtual void Sort (int aCol, bool aAscending, std::vector< long > *aSelection)=0
 
virtual void SelectItems (std::vector< long > &aItemRows)
 
virtual void ActivateItem (long aItemRow)
 

Protected Attributes

wxString m_name
 
std::vector< std::tuple< wxString, int, wxListColumnFormat > > m_columns
 

Detailed Description

Definition at line 34 of file search_pane.h.

Constructor & Destructor Documentation

◆ SEARCH_HANDLER()

SEARCH_HANDLER::SEARCH_HANDLER ( const wxString &  aName)
inline

Definition at line 37 of file search_pane.h.

Member Function Documentation

◆ ActivateItem()

virtual void SEARCH_HANDLER::ActivateItem ( long  aItemRow)
inlinevirtual

◆ GetColumns()

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

Definition at line 43 of file search_pane.h.

References m_columns.

Referenced by SEARCH_PANE_LISTVIEW::RefreshColumnNames().

◆ GetName()

wxString SEARCH_HANDLER::GetName ( ) const
inline

Definition at line 41 of file search_pane.h.

References m_name.

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

◆ GetResultCell()

virtual wxString SEARCH_HANDLER::GetResultCell ( int  row,
int  col 
)
pure virtual

◆ Search()

◆ SelectItems()

virtual void SEARCH_HANDLER::SelectItems ( std::vector< long > &  aItemRows)
inlinevirtual

◆ Sort()

virtual void SEARCH_HANDLER::Sort ( int  aCol,
bool  aAscending,
std::vector< long > *  aSelection 
)
pure virtual

Member Data Documentation

◆ m_columns

◆ m_name

wxString SEARCH_HANDLER::m_name
protected

Definition at line 56 of file search_pane.h.

Referenced by GetName().


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