QAccessibleTextCursorEvent

The QAccessibleTextCursorEvent class notifies of cursor movements. More

Inheritance diagram of PySide2.QtGui.QAccessibleTextCursorEvent

Inherited by: QAccessibleTextInsertEvent, QAccessibleTextRemoveEvent, QAccessibleTextSelectionEvent, QAccessibleTextUpdateEvent

Synopsis

Functions

Detailed Description

This class is used with updateAccessibility() .

class PySide2.QtGui.QAccessibleTextCursorEvent(iface, cursorPos)

PySide2.QtGui.QAccessibleTextCursorEvent(obj, cursorPos)

param iface:

PySide2.QtGui.QAccessibleInterface

param cursorPos:

int

param obj:

PySide2.QtCore.QObject

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.

PySide2.QtGui.QAccessibleTextCursorEvent.cursorPosition()
Return type:

int

Returns the cursor position.

PySide2.QtGui.QAccessibleTextCursorEvent.setCursorPosition(position)
Parameters:

position – int

Sets the cursor position for this event.

See also

cursorPosition()