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