Vuo
1.2.6
|
A spin box where the buttons can have a different minimum and maximum than the line edit.
Public Member Functions | |
VuoSpinBox (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. | |
void | setButtonMinimum (int buttonMinimum) |
Sets the minimum value that can be entered using the buttons. | |
void | setButtonMaximum (int buttonMaximum) |
Sets the maximum value that can be entered using the buttons. | |
Protected Member Functions | |
QAbstractSpinBox::StepEnabled | stepEnabled () const |
Determines whether the up and/or down arrows are enabled. | |
virtual void | hideEvent (QHideEvent *event) |
Don't emit value changed events when hiding event, otherwise Vuo will update and quickly revert the value. | |
virtual void | focusOutEvent (QFocusEvent *event) |
Don't emit value changed events when focusing out due to window close, otherwise Vuo will update and quickly revert the value. | |
VuoSpinBox::VuoSpinBox | ( | QWidget * | parent = 0 | ) |
Creates a spin box where the buttons and line edit have no minimum and maximum.
|
protectedvirtual |
Don't emit value changed events when focusing out due to window close, otherwise Vuo will update and quickly revert the value.
|
protectedvirtual |
Don't emit value changed events when hiding event, otherwise Vuo will update and quickly revert the value.
void VuoSpinBox::setButtonMaximum | ( | int | buttonMaximum | ) |
Sets the maximum value that can be entered using the buttons.
void VuoSpinBox::setButtonMinimum | ( | int | buttonMinimum | ) |
Sets the minimum value that can be entered using the buttons.
void VuoSpinBox::stepBy | ( | int | steps | ) |
Steps the spin box value up or down, clamping it to be within the buttons' minimum and maximum.
|
protected |
Determines whether the up and/or down arrows are enabled.