- class QAccessibleTextCursorEvent¶
The
QAccessibleTextCursorEvent
class notifies of cursor movements. More…Inherited by:
QAccessibleTextUpdateEvent
,QAccessibleTextSelectionEvent
,QAccessibleTextRemoveEvent
,QAccessibleTextInsertEvent
Synopsis¶
Methods¶
def
__init__()
def
cursorPosition()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
This class is used with
updateAccessibility()
.- __init__(iface, cursorPos)¶
- Parameters:
iface –
QAccessibleInterface
cursorPos – int
Create a new
QAccessibleTextCursorEvent
foriface
, ThecursorPos
is the new cursor position.- __init__(obj, cursorPos)
- Parameters:
obj –
QObject
cursorPos – int
Create a new
QAccessibleTextCursorEvent
forobject
. ThecursorPos
is the new cursor position.- cursorPosition()¶
- Return type:
int
Returns the cursor position.
See also
- setCursorPosition(position)¶
- Parameters:
position – int
Sets the cursor
position
for this event.See also