QAccessibleEditableTextInterface Class | Qt GUI 5.12.5

Qt 5.12 | Qt GUI | C++ Classes | QAccessibleEditableTextInterface

Qt 5.12.5 Reference Documentation

# QAccessibleEditableTextInterface Class

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

Header: | #include <QAccessibleEditableTextInterface>
qmake: | QT += gui

- List of all members, including inherited members

## Public Functions

virtual | ~QAccessibleEditableTextInterface()
virtual void | deleteText(int startOffset, int endOffset) = 0
virtual void | insertText(int offset, const QString &text) = 0
virtual void | replaceText(int startOffset, int endOffset, const QString &text) = 0

## Detailed Description

The QAccessibleEditableTextInterface class implements support for objects with editable text.

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

IAccessible2 Specification

See also QAccessibleInterface.

## Member Function Documentation

### `[virtual]` QAccessibleEditableTextInterface::~QAccessibleEditableTextInterface()

Destroys the QAccessibleEditableTextInterface.

### `[pure virtual]` void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)

Deletes the text from startOffset to endOffset.

### `[pure virtual]` void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)

Inserts text at position offset.

### `[pure virtual]` void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)

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