QAccessibleValueInterface¶
The QAccessibleValueInterface
class implements support for objects that manipulate a value. More…
Detailed Description¶
This interface should be implemented by accessible objects that represent a value. Examples are spinner, slider, dial and scroll bar.
Instead of forcing the user to deal with the individual parts of the widgets, this interface gives an easier approach to the kind of widget it represents.
Usually this interface is implemented by classes that also implement QAccessibleInterface
.
- class PySide6.QtGui.QAccessibleValueInterface¶
- PySide6.QtGui.QAccessibleValueInterface.currentValue()¶
- Return type
object
Returns the current value of the widget. This is usually a double or int.
See also
- PySide6.QtGui.QAccessibleValueInterface.maximumValue()¶
- Return type
object
Returns the maximum value this object accepts.
See also
- PySide6.QtGui.QAccessibleValueInterface.minimumStepSize()¶
- Return type
object
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.
- PySide6.QtGui.QAccessibleValueInterface.minimumValue()¶
- Return type
object
Returns the minimum value this object accepts.
See also
- PySide6.QtGui.QAccessibleValueInterface.setCurrentValue(value)¶
- Parameters
value – object
Sets the value
. If the desired value
is out of the range of permissible values, this call will be ignored.
See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.