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