KiCad PCB EDA Suite
|
A combobox that has a filterable popup. More...
#include <filter_combobox.h>
Public Member Functions | |
FILTER_COMBOBOX (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0) | |
FILTER_COMBOBOX (wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int count=0, wxString strings[]=nullptr, long style=0) | |
~FILTER_COMBOBOX () | |
virtual void | SetStringList (const wxArrayString &aStringList) |
virtual void | SetSelectedString (const wxString &aString) |
Protected Member Functions | |
void | setFilterPopup (FILTER_COMBOPOPUP *aPopup) |
void | onKeyDown (wxKeyEvent &aEvt) |
Protected Attributes | |
FILTER_COMBOPOPUP * | m_filterPopup |
A combobox that has a filterable popup.
Useful when the list of items is long and you want the user to be able to filter it by typing.
Definition at line 121 of file filter_combobox.h.
FILTER_COMBOBOX::FILTER_COMBOBOX | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 |
||
) |
Definition at line 440 of file filter_combobox.cpp.
References onKeyDown().
FILTER_COMBOBOX::FILTER_COMBOBOX | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxString & | value, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
int | count = 0 , |
||
wxString | strings[] = nullptr , |
||
long | style = 0 |
||
) |
Definition at line 452 of file filter_combobox.cpp.
References m_filterPopup, and setFilterPopup().
FILTER_COMBOBOX::~FILTER_COMBOBOX | ( | ) |
Definition at line 465 of file filter_combobox.cpp.
References onKeyDown().
|
protected |
Definition at line 490 of file filter_combobox.cpp.
References m_filterPopup, and FILTER_COMBOPOPUP::OnStartingKey().
Referenced by FILTER_COMBOBOX(), and ~FILTER_COMBOBOX().
|
protected |
Definition at line 483 of file filter_combobox.cpp.
References m_filterPopup.
Referenced by FILTER_COMBOBOX(), NET_SELECTOR::NET_SELECTOR(), and SYMBOL_FILTER_COMBOBOX::SYMBOL_FILTER_COMBOBOX().
|
virtual |
Reimplemented in NET_SELECTOR.
Definition at line 477 of file filter_combobox.cpp.
References m_filterPopup, and FILTER_COMBOPOPUP::SetSelectedString().
Referenced by DIALOG_LABEL_PROPERTIES::TransferDataToWindow(), and DIALOG_LIB_NEW_SYMBOL::TransferDataToWindow().
|
virtual |
Definition at line 471 of file filter_combobox.cpp.
References m_filterPopup, and FILTER_COMBOPOPUP::SetStringList().
Referenced by DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), and DIALOG_LABEL_PROPERTIES::TransferDataToWindow().
|
protected |
Definition at line 144 of file filter_combobox.h.
Referenced by FILTER_COMBOBOX(), onKeyDown(), setFilterPopup(), SetSelectedString(), and SetStringList().