|
KiCad PCB EDA Suite
|
#include <footprint_wizard.h>
Public Member Functions | |
| void | Reset () override |
| kiapi::common::types::WizardParameter | Pack (bool aCompact=true) override |
| Packs the current state of this parameter back into a protobuf message. | |
| void | FromProto (const kiapi::common::types::WizardIntParameter &aProto) |
Static Public Member Functions | |
| static std::unique_ptr< WIZARD_PARAMETER > | Create (const kiapi::common::types::WizardParameter &aProto) |
| static wxString | ParameterCategoryName (kiapi::common::types::WizardParameterCategory aCategory) |
Public Attributes | |
| int | value = 0 |
| int | default_value = 0 |
| std::optional< int > | min |
| std::optional< int > | max |
| std::optional< int > | multiple |
| wxString | identifier |
| wxString | name |
| wxString | description |
| kiapi::common::types::WizardParameterCategory | category = kiapi::common::types::WPC_UNKNOWN |
| kiapi::common::types::WizardParameterDataType | type = kiapi::common::types::WPDT_UNKNOWN |
Definition at line 71 of file footprint_wizard.h.
|
staticinherited |
Definition at line 215 of file footprint_wizard.cpp.
References WIZARD_BOOL_PARAMETER::FromProto(), WIZARD_INT_PARAMETER::FromProto(), WIZARD_REAL_PARAMETER::FromProto(), and WIZARD_STRING_PARAMETER::FromProto().
Referenced by WIZARD_INFO::FromProto().
| void WIZARD_INT_PARAMETER::FromProto | ( | const kiapi::common::types::WizardIntParameter & | aProto | ) |
Definition at line 339 of file footprint_wizard.cpp.
References default_value, max, min, multiple, and value.
Referenced by WIZARD_PARAMETER::Create().
|
overridevirtual |
Packs the current state of this parameter back into a protobuf message.
| aCompact | will only include the identifier and value if true |
Reimplemented from WIZARD_PARAMETER.
Definition at line 268 of file footprint_wizard.cpp.
References default_value, max, min, multiple, WIZARD_PARAMETER::Pack(), and value.
|
staticinherited |
Definition at line 197 of file footprint_wizard.cpp.
References _.
Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::RebuildParameters().
|
inlineoverridevirtual |
Implements WIZARD_PARAMETER.
Definition at line 74 of file footprint_wizard.h.
References default_value, and value.
|
inherited |
Definition at line 63 of file footprint_wizard.h.
Referenced by Pack().
| int WIZARD_INT_PARAMETER::default_value = 0 |
Definition at line 78 of file footprint_wizard.h.
Referenced by FromProto(), Pack(), and Reset().
|
inherited |
Definition at line 62 of file footprint_wizard.h.
Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().
|
inherited |
Definition at line 60 of file footprint_wizard.h.
Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().
| std::optional<int> WIZARD_INT_PARAMETER::max |
Definition at line 80 of file footprint_wizard.h.
Referenced by FromProto(), and Pack().
| std::optional<int> WIZARD_INT_PARAMETER::min |
Definition at line 79 of file footprint_wizard.h.
Referenced by FromProto(), and Pack().
| std::optional<int> WIZARD_INT_PARAMETER::multiple |
Definition at line 81 of file footprint_wizard.h.
Referenced by FromProto(), and Pack().
|
inherited |
Definition at line 61 of file footprint_wizard.h.
Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().
|
inherited |
Definition at line 64 of file footprint_wizard.h.
Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().
| int WIZARD_INT_PARAMETER::value = 0 |
Definition at line 77 of file footprint_wizard.h.
Referenced by FromProto(), Pack(), and Reset().