AutoParamWidget::FieldRow
AutoParamWidget::FieldRow
Public Attributes
| Name | |
|---|---|
| std::string | field_name |
| std::string | type_name |
| bool | is_optional |
| QDoubleSpinBox * | double_spin |
| QSpinBox * | int_spin |
| QCheckBox * | bool_check |
| QComboBox * | combo_box |
| QLineEdit * | line_edit |
| QCheckBox * | optional_gate |
| bool | include_none_sentinel Whether to prepend “(None)” to combo items. |
| bool | is_vector_field True when this row represents a std::vector |
| std::string | vector_element_type Element type: “float”, “int”, “std::string”. |
| QListWidget * | multi_select_list Multi-select checkable list (for vector |
| QLineEdit * | csv_input Comma-separated input (for vector |
| bool | is_variant |
| std::string | variant_discriminator |
| QComboBox * | variant_combo |
| QStackedWidget * | variant_stack |
| std::vector< std::vector< FieldRow > > | variant_sub_rows One vector per alternative. |
| std::vector< std::string > | variant_all_tags All variant tags from schema. |
Public Attributes Documentation
variable field_name
std::string field_name;variable type_name
std::string type_name;variable is_optional
bool is_optional = false;variable double_spin
QDoubleSpinBox * double_spin = nullptr;variable int_spin
QSpinBox * int_spin = nullptr;variable bool_check
QCheckBox * bool_check = nullptr;variable combo_box
QComboBox * combo_box = nullptr;variable line_edit
QLineEdit * line_edit = nullptr;variable optional_gate
QCheckBox * optional_gate = nullptr;variable include_none_sentinel
bool include_none_sentinel = false;Whether to prepend “(None)” to combo items.
variable is_vector_field
bool is_vector_field = false;True when this row represents a std::vector
variable vector_element_type
std::string vector_element_type;Element type: “float”, “int”, “std::string”.
variable multi_select_list
QListWidget * multi_select_list = nullptr;Multi-select checkable list (for vector
variable csv_input
QLineEdit * csv_input = nullptr;Comma-separated input (for vector
variable is_variant
bool is_variant = false;variable variant_discriminator
std::string variant_discriminator;variable variant_combo
QComboBox * variant_combo = nullptr;variable variant_stack
QStackedWidget * variant_stack = nullptr;variable variant_sub_rows
std::vector< std::vector< FieldRow > > variant_sub_rows;One vector per alternative.