QAccessibleEditableTextInterface

The QAccessibleEditableTextInterface class implements support for objects with editable text. More

Inheritance diagram of PySide2.QtGui.QAccessibleEditableTextInterface

Detailed Description

When implementing this interface you will almost certainly also want to implement QAccessibleTextInterface .

IAccessible2 Specification

class PySide2.QtGui.QAccessibleEditableTextInterface
PySide2.QtGui.QAccessibleEditableTextInterface.deleteText(startOffset, endOffset)
Parameters
  • startOffset – int

  • endOffset – int

Deletes the text from startOffset to endOffset .

PySide2.QtGui.QAccessibleEditableTextInterface.insertText(offset, text)
Parameters
  • offset – int

  • text – str

Inserts text at position offset .

PySide2.QtGui.QAccessibleEditableTextInterface.replaceText(startOffset, endOffset, text)
Parameters
  • startOffset – int

  • endOffset – int

  • text – str

Removes the text from startOffset to endOffset and instead inserts text .