QAccessibleTextCursorEvent¶
The QAccessibleTextCursorEvent
class notifies of cursor movements. More…
Inherited by: QAccessibleTextUpdateEvent, QAccessibleTextSelectionEvent, QAccessibleTextRemoveEvent, QAccessibleTextInsertEvent
Synopsis¶
Functions¶
def
cursorPosition
()def
setCursorPosition
(position)
Detailed Description¶
This class is used with updateAccessibility()
.
- class PySide6.QtGui.QAccessibleTextCursorEvent(iface, cursorPos)¶
PySide6.QtGui.QAccessibleTextCursorEvent(obj, cursorPos)
- Parameters
obj –
PySide6.QtCore.QObject
cursorPos – int
Create a new QAccessibleTextCursorEvent
for iface
, The cursorPos
is the new cursor position.
Create a new QAccessibleTextCursorEvent
for object
. The cursorPos
is the new cursor position.
- PySide6.QtGui.QAccessibleTextCursorEvent.cursorPosition()¶
- Return type
int
Returns the cursor position.
See also
- PySide6.QtGui.QAccessibleTextCursorEvent.setCursorPosition(position)¶
- Parameters
position – int
Sets the cursor position
for this event.
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.