QAccessibleTextUpdateEventclass 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. 更多 …
def
changePosition
()
def
textInserted
()
def
textRemoved
()
此类被用于
updateAccessibility().
QAccessibleTextUpdateEvent
(
iface
,
position
,
oldText
,
text
)
¶
QAccessibleTextUpdateEvent(obj, position, oldText, text)
oldText – unicode
iface
–
QAccessibleInterface
position
–
int
obj
–
QObject
text – unicode
PySide2.QtGui.QAccessibleTextUpdateEvent.
changePosition
(
)
¶
int
返回更改发生的位置。
PySide2.QtGui.QAccessibleTextUpdateEvent.
textInserted
(
)
¶
unicode
返回插入文本。
PySide2.QtGui.QAccessibleTextUpdateEvent.
textRemoved
(
)
¶
unicode
返回移除文本。