Widget combining a slider with a spin box for configuring integer values.
|
| IntAdjusterWidget (int minimum, int maximum, int singleStep=1, QWidget *parent=nullptr) |
| Creates a new IntAdjusterWidget.
|
|
| IntAdjusterWidget (QWidget *parent=nullptr) |
| Creates a new IntAdjusterWidget with minimum of 0, maximum of 99 and singleStep of 1.
|
|
| AdjusterWidgetBase (QWidget *parent=nullptr) |
| Creates a new AbstractAdjusterWidget.
|
|
int | value () const |
| Return the adjuster's current value.
|
|
void | setValue (int value) |
| Change the adjuster's current value.
|
|
int | minimum () const |
| Return the adjuster's spin box minimum value.
|
|
void | setMinimum (int minimum) |
| Change both the adjuster's spin box and slider minimum value.
|
|
int | maximum () const |
| Return the adjuster's spin box maximum value.
|
|
void | setMaximum (int maximum) |
| Change both the adjuster's spin box and slider maximum value.
|
|
int | sliderMinimum () const |
| Return the adjuster's slider minimum value.
|
|
void | setSliderMinimum (int minimum) |
| Change the adjuster's slider minimum value.
|
|
int | sliderMaximum () const |
| Return the adjuster's slider maximum value.
|
|
void | setSliderMaximum (int maximum) |
| Change the adjuster's slider maximum value.
|
|
void | setRightToLeft (bool righToLeft) |
| Change the adjuster's slider to go from right-to-left, instead of left-to-right.
|
|
int | spinboxMinimum () const |
| Return the adjuster's spin box minimum value.
|
|
void | setSpinboxMinimum (int minimum) |
| Change the adjuster's spin box minimum value.
|
|
int | spinboxMaximum () const |
| Return the adjuster's spin box maximum value.
|
|
void | setSpinboxMaximum (int maximum) |
| Change the adjuster's spin box maximum value.
|
|
int | singleStep () const |
| Return the adjuster's single step value.
|
|
void | setSingleStep (int value) |
| Change the adjuster's single step value.
|
|
virtual bool | blockSignals (bool value) |
| Sets Qt's blockSignals setting of both the slider and the spin box.
|
|
AdjusterWidgetTraits< int >::SpinBoxType * | spinBox () |
| Returns the pointer to the spin box that is used internally.
|
|
|
void | onSpinBoxValueChangedImpl (int value) |
| Slot getting called when the spin box's value changes.
|
|
int | onSliderValueChangedImpl (int value) |
| Slot getting called when the slider's value changes.
|
|
virtual void | setSliderValue (int value) |
| Virtual method to update the slider's value. To be overridden in sub classes.
|
|
virtual void | setSliderProperties (int stepValue, int minValue, int maxValue) |
| Update the slider's properties based on the provided step, minimum, and maximum value of the adjuster.
|
|
QSlider * | m_slider |
| Slider allowing the user to quickly change the value.
|
|
AdjusterWidgetTraits< int >::SpinBoxType * | m_spinBox |
| Spin box displaying the current value.
|
|
int | m_sliderMin |
| Minimum value used for the slider.
|
|
int | m_sliderMax |
| Maximum value used for the slider.
|
|