|
KiCad PCB EDA Suite
|
#include <drc_re_layers_selection_combo.h>
Public Member Functions | |
| DRC_RE_LAYER_SELECTION_COMBO (wxWindow *aParent, const std::vector< PCB_LAYER_ID > &aLayerIDs, const std::function< wxString(PCB_LAYER_ID)> &aNameGetter) | |
| ~DRC_RE_LAYER_SELECTION_COMBO () | |
| wxString | GetSelectedItemsString () |
| std::vector< PCB_LAYER_ID > | GetSelectedLayers () |
| void | SetItemsSelected (const std::vector< PCB_LAYER_ID > &aSelectedLayers) |
Private Member Functions | |
| void | onPopupClose (wxCommandEvent &aEvent) |
| void | onKeyDown (wxKeyEvent &aEvent) |
| void | onMouseClick (wxMouseEvent &aEvent) |
Private Attributes | |
| DRC_RE_LAYER_SELECTION_CHOICE_POPUP * | m_popup |
| std::vector< PCB_LAYER_ID > | m_layerIDs |
| std::function< wxString(PCB_LAYER_ID)> | m_nameGetter |
Definition at line 30 of file drc_re_layers_selection_combo.h.
| DRC_RE_LAYER_SELECTION_COMBO::DRC_RE_LAYER_SELECTION_COMBO | ( | wxWindow * | aParent, |
| const std::vector< PCB_LAYER_ID > & | aLayerIDs, | ||
| const std::function< wxString(PCB_LAYER_ID)> & | aNameGetter ) |
Definition at line 28 of file drc_re_layers_selection_combo.cpp.
References m_layerIDs, m_nameGetter, m_popup, onKeyDown(), onMouseClick(), and onPopupClose().
| DRC_RE_LAYER_SELECTION_COMBO::~DRC_RE_LAYER_SELECTION_COMBO | ( | ) |
Definition at line 47 of file drc_re_layers_selection_combo.cpp.
References onKeyDown(), onMouseClick(), and onPopupClose().
| wxString DRC_RE_LAYER_SELECTION_COMBO::GetSelectedItemsString | ( | ) |
Definition at line 55 of file drc_re_layers_selection_combo.cpp.
References m_popup.
| std::vector< PCB_LAYER_ID > DRC_RE_LAYER_SELECTION_COMBO::GetSelectedLayers | ( | ) |
Definition at line 61 of file drc_re_layers_selection_combo.cpp.
References m_layerIDs, m_nameGetter, and m_popup.
|
private |
Definition at line 83 of file drc_re_layers_selection_combo.cpp.
Referenced by DRC_RE_LAYER_SELECTION_COMBO(), and ~DRC_RE_LAYER_SELECTION_COMBO().
|
private |
Definition at line 89 of file drc_re_layers_selection_combo.cpp.
Referenced by DRC_RE_LAYER_SELECTION_COMBO(), and ~DRC_RE_LAYER_SELECTION_COMBO().
|
private |
Definition at line 76 of file drc_re_layers_selection_combo.cpp.
References m_popup.
Referenced by DRC_RE_LAYER_SELECTION_COMBO(), and ~DRC_RE_LAYER_SELECTION_COMBO().
| void DRC_RE_LAYER_SELECTION_COMBO::SetItemsSelected | ( | const std::vector< PCB_LAYER_ID > & | aSelectedLayers | ) |
Definition at line 67 of file drc_re_layers_selection_combo.cpp.
References m_nameGetter, and m_popup.
|
private |
Definition at line 53 of file drc_re_layers_selection_combo.h.
Referenced by DRC_RE_LAYER_SELECTION_COMBO(), and GetSelectedLayers().
|
private |
Definition at line 54 of file drc_re_layers_selection_combo.h.
Referenced by DRC_RE_LAYER_SELECTION_COMBO(), GetSelectedLayers(), and SetItemsSelected().
|
private |
Definition at line 52 of file drc_re_layers_selection_combo.h.
Referenced by DRC_RE_LAYER_SELECTION_COMBO(), GetSelectedItemsString(), GetSelectedLayers(), onPopupClose(), and SetItemsSelected().