Vuo
0.7.0
|
A spin box where the buttons can have a different minimum and maximum than the line edit.
Public Member Functions | |
VuoDoubleSpinBox (QWidget *parent=0) | |
Creates a spin box where the buttons and line edit have no minimum and maximum. | |
void | stepBy (int steps) |
Steps the spin box value up or down, clamping it to be within the buttons' minimum and maximum. | |
QString | textFromValue (double value) const |
Implementation of the virtual function used by the spin box whenever it needs to display the given value . | |
void | setButtonMinimum (double buttonMinimum) |
Sets the minimum value that can be entered using the buttons. | |
void | setButtonMaximum (double buttonMaximum) |
Sets the maximum value that can be entered using the buttons. | |
VuoDoubleSpinBox::VuoDoubleSpinBox | ( | QWidget * | parent = 0 | ) |
Creates a spin box where the buttons and line edit have no minimum and maximum.
void VuoDoubleSpinBox::setButtonMaximum | ( | double | buttonMaximum | ) |
Sets the maximum value that can be entered using the buttons.
void VuoDoubleSpinBox::setButtonMinimum | ( | double | buttonMinimum | ) |
Sets the minimum value that can be entered using the buttons.
void VuoDoubleSpinBox::stepBy | ( | int | steps | ) |
Steps the spin box value up or down, clamping it to be within the buttons' minimum and maximum.
QString VuoDoubleSpinBox::textFromValue | ( | double | value | ) | const |
Implementation of the virtual function used by the spin box whenever it needs to display the given value
.