QAccessibleStateChangeEvent¶
The
QAccessibleStateChangeEventnotfies the accessibility framework that the state of an object has changed. More…

Synopsis¶
Functions¶
def
changedStates()
Detailed Description¶
This class is used with
updateAccessibility().See also
- class PySide2.QtGui.QAccessibleStateChangeEvent(iface, state)¶
PySide2.QtGui.QAccessibleStateChangeEvent(obj, state)
- param iface:
- param state:
- param obj:
Constructs a new
QAccessibleStateChangeEvent.ifaceis the interface associated with the eventstateis the state of the accessible object.Constructs a new
QAccessibleStateChangeEventforobject. The difference to the object’s previous state is instate.
- PySide2.QtGui.QAccessibleStateChangeEvent.changedStates()¶
- Return type:
Returns the states that have been changed.
Keep in mind that the returned states are the ones that have changed. To find out about the state of an object, use
state().For example, if an object used to have the focus but loses it, the object’s state will have focused set to
false. This event on the other hand tells about the change and has focused set totruesince the focus state is changed fromtruetofalse.
© 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.