#include <DoublePropertyWizardPane.hpp>
|
QLineEdit * | _field |
|
QLabel * | _header |
|
string | _message |
|
A DoublePropertyWizardPane instance displays the user interface corresponding to a DoublePropertyHandler. When the user changes the edit field, the corresponding value is updated in the target property.
◆ DoublePropertyWizardPane()
DoublePropertyWizardPane::DoublePropertyWizardPane |
( |
std::unique_ptr< PropertyHandler > |
handler, |
|
|
QObject * |
target |
|
) |
| |
|
explicit |
The default (and only) constructor creates and initializes the GUI for this pane. For a description of the arguments, see the PropertyWizardPane constructor.
◆ updateInterface()
void DoublePropertyWizardPane::updateInterface |
( |
| ) |
|
|
overrideprotectedvirtual |
This function updates the user interface of the pane if needed to adjust to changes to the values of other properties displayed inside the same MultiPropertyWizardPane instance. Specifically, if the quantity units and/or the minimum, maximum or default values have changed, the header message is updated and the field value is updated if the quantity units and/or the default value have changed and the field has not yet been edited by the user (i.e. it still contains a programmatically inserted default value).
Reimplemented from PropertyWizardPane.
◆ updateValue
void DoublePropertyWizardPane::updateValue |
( |
const QString & |
text | ) |
|
|
slot |
This function stores the value corresponding to the specified text string into the target property.
The documentation for this class was generated from the following file:
- DoublePropertyWizardPane.hpp