|
KiCad PCB EDA Suite
|
Helper to display a DCode list and select a DCode id. More...
#include <dcode_selection_box.h>
Public Member Functions | |
| DCODE_SELECTION_BOX (wxAuiToolBar *aParent, wxWindowID aId, const wxPoint &aLocation, const wxSize &aSize, const wxArrayString *aChoices=nullptr) | |
| ~DCODE_SELECTION_BOX () | |
| int | GetSelectedDCodeId () |
| void | SetDCodeSelection (int aDCodeId) |
| void | AppendDCodeList (const wxArrayString &aChoices) |
Helper to display a DCode list and select a DCode id.
Definition at line 39 of file dcode_selection_box.h.
| DCODE_SELECTION_BOX::DCODE_SELECTION_BOX | ( | wxAuiToolBar * | aParent, |
| wxWindowID | aId, | ||
| const wxPoint & | aLocation, | ||
| const wxSize & | aSize, | ||
| const wxArrayString * | aChoices = nullptr ) |
Definition at line 31 of file dcode_selection_box.cpp.
| DCODE_SELECTION_BOX::~DCODE_SELECTION_BOX | ( | ) |
Definition at line 43 of file dcode_selection_box.cpp.
| void DCODE_SELECTION_BOX::AppendDCodeList | ( | const wxArrayString & | aChoices | ) |
| aChoices | is the DCode Id list to add to the combo box. |
Definition at line 87 of file dcode_selection_box.cpp.
| int DCODE_SELECTION_BOX::GetSelectedDCodeId | ( | ) |
Definition at line 48 of file dcode_selection_box.cpp.
| void DCODE_SELECTION_BOX::SetDCodeSelection | ( | int | aDCodeId | ) |
| aDCodeId | is the DCode Id to select or <= 0 to select "no dcode". |
Definition at line 67 of file dcode_selection_box.cpp.