QAccessibleTextUpdateEvent¶
The
QAccessibleTextUpdateEvent
class notifies about text changes. This is for accessibles that support editable text such as line edits. This event occurs for example when a portion of selected text gets replaced by pasting a new text or in override mode of editors. More…

Synopsis¶
Functions¶
def
changePosition
()def
textInserted
()def
textRemoved
()
Detailed Description¶
This class is used with
updateAccessibility()
.
-
class
QAccessibleTextUpdateEvent
(iface, position, oldText, text)¶ QAccessibleTextUpdateEvent(obj, position, oldText, text)
- param oldText
unicode
- param iface
- param position
int
- param obj
QObject
- param text
unicode
Constructs a new
QAccessibleTextUpdateEvent
foriface
. The text change takes place atposition
where theoldText
was removed andtext
inserted instead.Constructs a new
QAccessibleTextUpdateEvent
forobject
. The text change takes place atposition
where theoldText
was removed andtext
inserted instead.
-
PySide2.QtGui.QAccessibleTextUpdateEvent.
changePosition
()¶ - Return type
int
Returns where the change took place.
-
PySide2.QtGui.QAccessibleTextUpdateEvent.
textInserted
()¶ - Return type
unicode
Returns the inserted text.
-
PySide2.QtGui.QAccessibleTextUpdateEvent.
textRemoved
()¶ - Return type
unicode
Returns the removed text.