CopperSpice API
1.9.2
|
Support for objects which represent a value. More...
Inherited by QAccessibleAbstractSlider, QAccessibleAbstractSpinBox, QAccessibleProgressBar
Public Methods | |
virtual | ~QAccessibleValueInterface () |
virtual QVariant | currentValue () const = 0 |
virtual QVariant | maximumValue () const = 0 |
virtual QVariant | minimumStepSize () const = 0 |
virtual QVariant | minimumValue () const = 0 |
virtual void | setCurrentValue (const QVariant &value) = 0 |
The QAccessibleValueInterface class implements support for objects which represents a value. Examples are spinner, slider, dial and scroll bar.
|
virtual |
Destroys the QAccessibleValueInterface.
|
pure virtual |
Returns the current value of the widget. This is usually a double or int.
|
pure virtual |
Returns the maximum value this object accepts.
|
pure virtual |
Returns the minimum step size for the accessible. This is the smallest increment that makes sense when changing the value. When programmatically changing the value it should always be a multiple of the minimum step size. Some tools use this value even when the setCurrentValue does not perform any action. Progress bars for example are read-only but should return their range divided by 100.
|
pure virtual |
Returns the minimum value this object accepts.
|
pure virtual |
Sets the value. If the given value is out of the range of permissible values, this call will be ignored.