|
|
| MatrixParamControl (const std::string &name, QWidget *init=nullptr, QWidget *parent=nullptr) |
| |
| void | updateValue (const std::string &value, const std::vector< Properties::Attribute > &attributes) override |
| | Updates the current value and adjusts the attributes.
|
| |
| void | retrieveValue (Properties *p) const override |
| | Retrieves the value from the widget and writes it into the properties.
|
| |
| QWidget * | widget () const override |
| | Returns the widget for this control.
|
| |
|
| ParamControl (Properties::ParamType t, const std::string &n) |
| | Each control can only be used for a fixed type and parameter.
|
| |
|
| ~ParamControl () override=default |
| | Subclasses are expected to delete their widget.
|
| |
◆ updateValue()
Updates the current value and adjusts the attributes.
Implements ParamControl.
◆ retrieveValue()
Retrieves the value from the widget and writes it into the properties.
Implements ParamControl.
◆ widget()
| QWidget * widget |
( |
| ) |
const |
|
overridevirtual |
Returns the widget for this control.
The ParamControl does not own this widget, e.g. it must be re-parented to some other QWidget or deleted manually.
Implements ParamControl.
The documentation for this class was generated from the following file:
- ImFusion/GUI/PropertiesWidgetParamControls.h