27#include <wx/listbase.h>
43 std::vector<std::tuple<wxString, int, wxListColumnFormat>>
GetColumns()
const
48 virtual int Search(
const wxString&
string ) = 0;
50 virtual void Sort(
int aCol,
bool aAscending, std::vector<long>* aSelection ) = 0;
57 std::vector<std::tuple<wxString, int, wxListColumnFormat>>
m_columns;
87 std::vector<SEARCH_PANE_TAB*>
m_tabs;
The base class for create windows for drawing purpose.
SEARCH_HANDLER(const wxString &aName)
std::vector< std::tuple< wxString, int, wxListColumnFormat > > GetColumns() const
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)
std::vector< std::tuple< wxString, int, wxListColumnFormat > > m_columns
virtual void ActivateItem(long aItemRow)
virtual int Search(const wxString &string)=0
void AddSearcher(SEARCH_HANDLER *aHandler)
void OnSearchTextEntry(wxCommandEvent &aEvent) override
void OnNotebookPageChanged(wxBookCtrlEvent &aEvent) override
std::vector< SEARCH_PANE_TAB * > m_tabs
void OnLanguageChange(wxCommandEvent &aEvent)
SEARCH_PANE_TAB * GetCurrentTab() const
std::vector< SEARCH_HANDLER * > m_handlers