Inherits QWidget.
|
| SliderCombo (QWidget *parent=nullptr) |
|
void | setValue (int value) |
| Sets the current value.
|
|
Q_REQUIRED_RESULT int | value () const |
| Gets the current value.
|
|
void | setMinimum (int min) |
| Sets the hard minimum value selectable via the spinbox.
|
|
Q_REQUIRED_RESULT int | minimum () const |
| Gets the hard minimum value selectable via the spinbox.
|
|
void | setMaximum (int max) |
| Sets the hard maximum value selectable via the spinbox.
|
|
Q_REQUIRED_RESULT int | maximum () const |
| Gets the hard maximum value selectable via the spinbox.
|
|
void | setRange (int min, int max) |
| Sets the hard minimum and maximum values selectable via the spinbox.
|
|
void | setSoftMinimum (int min) |
| Sets the soft minimum value selectable via the slider.
|
|
Q_REQUIRED_RESULT int | softMinimum () const |
| Gets the soft minimum value selectable via the slider.
|
|
void | setSoftMaximum (int max) |
| Sets the soft maximum value selectable via the slider.
|
|
Q_REQUIRED_RESULT int | softMaximum () const |
| Gets the soft maximum value selectable via the slider.
|
|
Q_REQUIRED_RESULT bool | hasSoftMinimum () const |
| Gets true if a soft minimum is set for this control.
|
|
Q_REQUIRED_RESULT bool | hasSoftMaximum () const |
| Gets true if a soft maximum is set for this control.
|
|
void | setSoftRange (int min, int max) |
| Sets the soft minimum and maximum values selectable via the slider.
|
|
SpinBox * | spinbox () const |
| Returns the underlying spinbox.
|
|
SliderInt * | slider () const |
| Returns the underlying slider.
|
|
Control that combines a SpinBox and a Slider for integer value input. This control can be set to have soft and hard minimum and maximum values. If they differ, the soft minimum and maximum values define the range that is selectable via the slider, while the hard minimum and maximum are the actual limits in the range of selectable values. This can be used to implement a recommended range of values easily selectable via the slider, and also support the actual value range for a property via manual input.