PySide6.QtGui.QAccessibleEditableTextInterface¶
- class QAccessibleEditableTextInterface¶
The
QAccessibleEditableTextInterfaceclass implements support for objects with editable text. More…Synopsis¶
Virtual methods¶
def
deleteText()def
insertText()def
replaceText()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
When implementing this interface you will almost certainly also want to implement
QAccessibleTextInterface.See also
- abstract deleteText(startOffset, endOffset)¶
- Parameters:
startOffset – int
endOffset – int
Deletes the text from
startOffsettoendOffset.- abstract insertText(offset, text)¶
- Parameters:
offset – int
text – str
Inserts
textat positionoffset.- abstract replaceText(startOffset, endOffset, text)¶
- Parameters:
startOffset – int
endOffset – int
text – str
Removes the text from
startOffsettoendOffsetand instead insertstext.