QAccessibleTextInsertEvent¶
The
QAccessibleTextInsertEvent
class notifies of text being inserted. More…

Synopsis¶
Functions¶
def
changePosition
()def
textInserted
()
Detailed Description¶
This class is used with
updateAccessibility()
.
-
class
QAccessibleTextInsertEvent
(iface, position, text)¶ QAccessibleTextInsertEvent(obj, position, text)
- param iface
- param position
int
- param obj
QObject
- param text
unicode
Constructs a new
QAccessibleTextInsertEvent
event foriface
. The text has been inserted atposition
.Constructs a new
QAccessibleTextInsertEvent
event forobject
. Thetext
has been inserted atposition
. By default, it is assumed that the cursor has moved to the end of the selection. If that is not the case, one needs to manually set it withsetCursorPosition()
for this event.
-
PySide2.QtGui.QAccessibleTextInsertEvent.
changePosition
()¶ - Return type
int
Returns the position where the text was inserted.
-
PySide2.QtGui.QAccessibleTextInsertEvent.
textInserted
()¶ - Return type
unicode
Returns the text that has been inserted.