QAccessibleTextInsertEventclass notifies of text being inserted. 更多 …
def
changePosition
()
def
textInserted
()
此类被用于
updateAccessibility().
QAccessibleTextInsertEvent
(
iface
,
position
,
text
)
¶
QAccessibleTextInsertEvent(obj, position, text)
iface
–
QAccessibleInterface
position
–
int
obj
–
QObject
text – unicode
PySide2.QtGui.QAccessibleTextInsertEvent.
changePosition
(
)
¶
int
Returns the position where the text was inserted.
PySide2.QtGui.QAccessibleTextInsertEvent.
textInserted
(
)
¶
unicode
Returns the text that has been inserted.