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
PySide2.QtGui.
QAccessibleTextUpdateEvent
(iface, position, oldText, text)¶ PySide2.QtGui.QAccessibleTextUpdateEvent(obj, position, oldText, text)
- Parameters
oldText – str
position – int
obj –
PySide2.QtCore.QObject
text – str
-
PySide2.QtGui.QAccessibleTextUpdateEvent.
changePosition
()¶ - Return type
int
Returns where the change took place.
-
PySide2.QtGui.QAccessibleTextUpdateEvent.
textInserted
()¶ - Return type
str
Returns the inserted text.
-
PySide2.QtGui.QAccessibleTextUpdateEvent.
textRemoved
()¶ - Return type
str
Returns the removed text.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.