|
KiCad PCB EDA Suite
|
#include <drc_re_layers_selection_choice_popup.h>
Public Member Functions | |
| DRC_RE_LAYER_SELECTION_CHOICE_POPUP ()=default | |
| void | Init () override |
| bool | Create (wxWindow *aParent) override |
| wxWindow * | GetControl () override |
| void | SetStringValue (const wxString &value) override |
| wxString | GetStringValue () const override |
| wxString | GetSelectedItemsString () |
| std::vector< PCB_LAYER_ID > | GetSelectedLayers (const std::vector< PCB_LAYER_ID > &aAllLayerIds, const std::function< wxString(PCB_LAYER_ID)> &nameGetter) |
| void | SetSelections (const std::vector< PCB_LAYER_ID > &aLayerIDs, const std::function< wxString(PCB_LAYER_ID)> &aNameGetter) |
| void | PopulateWithLayerIDs (const std::vector< PCB_LAYER_ID > &aLayerIDs, const std::function< wxString(PCB_LAYER_ID)> &aNameGetter) |
Private Member Functions | |
| void | populate (const wxArrayString &items) |
Private Attributes | |
| wxCheckListBox * | m_checkListBox |
| wxString | m_selectedItemsString |
Definition at line 31 of file drc_re_layers_selection_choice_popup.h.
|
default |
|
override |
Definition at line 35 of file drc_re_layers_selection_choice_popup.cpp.
References m_checkListBox.
|
override |
Definition at line 42 of file drc_re_layers_selection_choice_popup.cpp.
References m_checkListBox.
| wxString DRC_RE_LAYER_SELECTION_CHOICE_POPUP::GetSelectedItemsString | ( | ) |
Definition at line 67 of file drc_re_layers_selection_choice_popup.cpp.
References m_checkListBox, and SetStringValue().
Referenced by GetSelectedLayers().
| std::vector< PCB_LAYER_ID > DRC_RE_LAYER_SELECTION_CHOICE_POPUP::GetSelectedLayers | ( | const std::vector< PCB_LAYER_ID > & | aAllLayerIds, |
| const std::function< wxString(PCB_LAYER_ID)> & | nameGetter ) |
Definition at line 88 of file drc_re_layers_selection_choice_popup.cpp.
References GetSelectedItemsString().
|
override |
Definition at line 54 of file drc_re_layers_selection_choice_popup.cpp.
References m_selectedItemsString.
|
override |
Definition at line 29 of file drc_re_layers_selection_choice_popup.cpp.
References m_checkListBox.
|
private |
Definition at line 60 of file drc_re_layers_selection_choice_popup.cpp.
References m_checkListBox.
Referenced by PopulateWithLayerIDs().
| void DRC_RE_LAYER_SELECTION_CHOICE_POPUP::PopulateWithLayerIDs | ( | const std::vector< PCB_LAYER_ID > & | aLayerIDs, |
| const std::function< wxString(PCB_LAYER_ID)> & | aNameGetter ) |
Definition at line 138 of file drc_re_layers_selection_choice_popup.cpp.
References populate().
| void DRC_RE_LAYER_SELECTION_CHOICE_POPUP::SetSelections | ( | const std::vector< PCB_LAYER_ID > & | aLayerIDs, |
| const std::function< wxString(PCB_LAYER_ID)> & | aNameGetter ) |
Definition at line 112 of file drc_re_layers_selection_choice_popup.cpp.
References index, and m_checkListBox.
|
override |
Definition at line 48 of file drc_re_layers_selection_choice_popup.cpp.
References m_selectedItemsString.
Referenced by GetSelectedItemsString().
|
private |
Definition at line 62 of file drc_re_layers_selection_choice_popup.h.
Referenced by Create(), GetControl(), GetSelectedItemsString(), Init(), populate(), and SetSelections().
|
private |
Definition at line 63 of file drc_re_layers_selection_choice_popup.h.
Referenced by GetStringValue(), and SetStringValue().