KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FILTER_COMBOBOX Class Reference

A combobox that has a filterable popup. More...

#include <filter_combobox.h>

Inheritance diagram for FILTER_COMBOBOX:
NET_SELECTOR SYMBOL_FILTER_COMBOBOX

Public Member Functions

 FILTER_COMBOBOX (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)
 
 ~FILTER_COMBOBOX ()
 

Protected Member Functions

void setFilterPopup (std::unique_ptr< FILTER_COMBOPOPUP > aPopup)
 
void onKeyDown (wxKeyEvent &aEvt)
 

Protected Attributes

FILTER_COMBOPOPUPm_filterPopup
 

Detailed Description

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 113 of file filter_combobox.h.

Constructor & Destructor Documentation

◆ FILTER_COMBOBOX()

FILTER_COMBOBOX::FILTER_COMBOBOX ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0 
)

Definition at line 389 of file filter_combobox.cpp.

References onKeyDown().

◆ ~FILTER_COMBOBOX()

FILTER_COMBOBOX::~FILTER_COMBOBOX ( )

Definition at line 400 of file filter_combobox.cpp.

References onKeyDown().

Member Function Documentation

◆ onKeyDown()

void FILTER_COMBOBOX::onKeyDown ( wxKeyEvent &  aEvt)
protected

Definition at line 413 of file filter_combobox.cpp.

References m_filterPopup, and FILTER_COMBOPOPUP::OnStartingKey().

Referenced by FILTER_COMBOBOX(), and ~FILTER_COMBOBOX().

◆ setFilterPopup()

void FILTER_COMBOBOX::setFilterPopup ( std::unique_ptr< FILTER_COMBOPOPUP aPopup)
protected

Member Data Documentation

◆ m_filterPopup

FILTER_COMBOPOPUP* FILTER_COMBOBOX::m_filterPopup
protected

Definition at line 126 of file filter_combobox.h.

Referenced by onKeyDown(), and setFilterPopup().


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