QAccessibleEditableTextInterface 类

The QAccessibleEditableTextInterface class implements support for objects with editable text. 更多...

头: #include <QAccessibleEditableTextInterface>
qmake: QT += gui

公共函数

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

详细描述

The QAccessibleEditableTextInterface class implements support for objects with editable text.

在实现此接口时,几乎肯定还需要实现 QAccessibleTextInterface .

IAccessible2 规范

另请参阅 QAccessibleInterface .

成员函数文档编制

[虚拟] QAccessibleEditableTextInterface:: ~QAccessibleEditableTextInterface ()

销毁 QAccessibleEditableTextInterface .

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

删除文本从 startOffset to endOffset .

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

插入 text 在位置 offset .

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

移除文本从 startOffset to endOffset 并取而代之插入 text .