KiCad PCB EDA Suite
|
#include <search_pane_tab.h>
Public Member Functions | |
SEARCH_PANE_LISTVIEW (SEARCH_HANDLER *handler, 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 | |
SEARCH_HANDLER * | m_handler |
int | m_sortCol |
bool | m_sortAscending |
bool | m_selectionDirty |
Definition at line 31 of file search_pane_tab.h.
SEARCH_PANE_LISTVIEW::SEARCH_PANE_LISTVIEW | ( | SEARCH_HANDLER * | handler, |
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 OnChar(), OnColClicked(), OnItemActivated(), OnItemDeselected(), OnItemSelected(), OnUpdateUI(), and RefreshColumnNames().
|
virtual |
Definition at line 51 of file search_pane_tab.cpp.
References OnChar(), OnColClicked(), OnItemActivated(), OnItemDeselected(), OnItemSelected(), and OnUpdateUI().
|
protected |
Definition at line 63 of file search_pane_tab.cpp.
Referenced by OnUpdateUI(), and Sort().
|
protected |
Definition at line 152 of file search_pane_tab.cpp.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 124 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 220 of file search_pane_tab.cpp.
References SEARCH_HANDLER::GetResultCell(), and m_handler.
|
protected |
Definition at line 82 of file search_pane_tab.cpp.
References SEARCH_HANDLER::ActivateItem(), m_handler, and m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 104 of file search_pane_tab.cpp.
References m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 97 of file search_pane_tab.cpp.
References m_selectionDirty.
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
|
protected |
Definition at line 111 of file search_pane_tab.cpp.
References GetSelectRowsList(), m_handler, m_selectionDirty, and SEARCH_HANDLER::SelectItems().
Referenced by SEARCH_PANE_LISTVIEW(), and ~SEARCH_PANE_LISTVIEW().
void SEARCH_PANE_LISTVIEW::RefreshColumnNames | ( | ) |
Definition at line 201 of file search_pane_tab.cpp.
References SEARCH_HANDLER::GetColumns(), and m_handler.
Referenced by SEARCH_PANE_TAB::RefreshColumnNames(), and SEARCH_PANE_LISTVIEW().
std::vector< long > SEARCH_PANE_LISTVIEW::Sort | ( | ) |
Definition at line 190 of file search_pane_tab.cpp.
References GetSelectRowsList(), m_handler, m_sortAscending, m_sortCol, and SEARCH_HANDLER::Sort().
Referenced by OnColClicked(), and SEARCH_PANE_TAB::Search().
|
private |
Definition at line 57 of file search_pane_tab.h.
Referenced by OnGetItemText(), OnItemActivated(), OnUpdateUI(), RefreshColumnNames(), and Sort().
|
private |
Definition at line 60 of file search_pane_tab.h.
Referenced by OnItemActivated(), OnItemDeselected(), OnItemSelected(), and OnUpdateUI().
|
private |
Definition at line 59 of file search_pane_tab.h.
Referenced by OnColClicked(), and Sort().
|
private |
Definition at line 58 of file search_pane_tab.h.
Referenced by OnColClicked(), and Sort().