KiCad PCB EDA Suite
|
#include <search_pane_tab.h>
Public Member Functions | |
SEARCH_PANE_LISTVIEW (const std::shared_ptr< SEARCH_HANDLER > &aHandler, wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
virtual | ~SEARCH_PANE_LISTVIEW () |
void | RefreshColumnNames () |
std::vector< long > | Sort () |
Protected Member Functions | |
wxString | OnGetItemText (long item, long column) const override |
void | OnItemSelected (wxListEvent &aEvent) |
void | OnItemActivated (wxListEvent &aEvent) |
void | OnItemDeselected (wxListEvent &aEvent) |
void | OnColClicked (wxListEvent &aEvent) |
void | OnUpdateUI (wxUpdateUIEvent &aEvent) |
void | OnChar (wxKeyEvent &aEvent) |
void | GetSelectRowsList (std::vector< long > &aSelectedList) |
Private Attributes | |
std::shared_ptr< SEARCH_HANDLER > | m_handler |
int | m_sortCol |
bool | m_sortAscending |
bool | m_selectionDirty |
Definition at line 32 of file search_pane_tab.h.
SEARCH_PANE_LISTVIEW::SEARCH_PANE_LISTVIEW | ( | const std::shared_ptr< SEARCH_HANDLER > & | aHandler, |
wxWindow * | parent, | ||
wxWindowID | winid = wxID_ANY, | ||
const wxPoint & | pos = wxDefaultPosition, | ||
const wxSize & | size = wxDefaultSize ) |
Definition at line 28 of file search_pane_tab.cpp.
References m_handler, m_selectionDirty, m_sortAscending, m_sortCol, OnChar(), OnColClicked(), OnItemActivated(), OnItemDeselected(), OnItemSelected(), OnUpdateUI(), and RefreshColumnNames().
|
virtual |
Definition at line 50 of file search_pane_tab.cpp.
References OnChar(), OnColClicked(), OnItemActivated(), OnItemDeselected(), OnItemSelected(), and OnUpdateUI().
|
protected |
Definition at line 62 of file search_pane_tab.cpp.
Referenced by OnUpdateUI(), and Sort().
|
protected |
Definition at line 151 of file search_pane_tab.cpp.
References next().
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 123 of file search_pane_tab.cpp.
References alg::contains(), m_sortAscending, m_sortCol, Refresh(), and Sort().
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
overrideprotected |
Definition at line 290 of file search_pane_tab.cpp.
References m_handler.
|
protected |
Definition at line 81 of file search_pane_tab.cpp.
References m_handler, and m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 103 of file search_pane_tab.cpp.
References m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 96 of file search_pane_tab.cpp.
References m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 110 of file search_pane_tab.cpp.
References GetSelectRowsList(), m_handler, and m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
void SEARCH_PANE_LISTVIEW::RefreshColumnNames | ( | ) |
Definition at line 272 of file search_pane_tab.cpp.
References m_handler.
Referenced by SEARCH_PANE_LISTVIEW().
std::vector< long > SEARCH_PANE_LISTVIEW::Sort | ( | ) |
Definition at line 261 of file search_pane_tab.cpp.
References GetSelectRowsList(), m_handler, m_sortAscending, and m_sortCol.
Referenced by OnColClicked().
|
private |
Definition at line 57 of file search_pane_tab.h.
Referenced by OnGetItemText(), OnItemActivated(), OnUpdateUI(), RefreshColumnNames(), SEARCH_PANE_LISTVIEW(), and Sort().
|
private |
Definition at line 60 of file search_pane_tab.h.
Referenced by OnItemActivated(), OnItemDeselected(), OnItemSelected(), OnUpdateUI(), and SEARCH_PANE_LISTVIEW().
|
private |
Definition at line 59 of file search_pane_tab.h.
Referenced by OnColClicked(), SEARCH_PANE_LISTVIEW(), and Sort().
|
private |
Definition at line 58 of file search_pane_tab.h.
Referenced by OnColClicked(), SEARCH_PANE_LISTVIEW(), and Sort().