QAccessibleTextInsertEvent 类

The QAccessibleTextInsertEvent class notifies of text being inserted. 更多...

头: #include <QAccessibleTextInsertEvent>
qmake: QT += gui
继承: QAccessibleTextCursorEvent

公共函数

QAccessibleTextInsertEvent (QObject * object , int position , const QString & text )
QAccessibleTextInsertEvent (QAccessibleInterface * iface , int position , const QString & text )
int changePosition () const
QString textInserted () const

保护变量

int m_position
QString m_text

详细描述

The QAccessibleTextInsertEvent class notifies of text being inserted.

此类用于 QAccessible::updateAccessibility ().

成员函数文档编制

QAccessibleTextInsertEvent:: QAccessibleTextInsertEvent ( QObject * object , int position , const QString & text )

构造新的 QAccessibleTextInsertEvent event for object text has been inserted at position . By default, it is assumed that the cursor has moved to the end of the selection. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition () 对于此事件而言。

QAccessibleTextInsertEvent:: QAccessibleTextInsertEvent ( QAccessibleInterface * iface , int position , const QString & text )

构造新的 QAccessibleTextInsertEvent event for iface . The text has been inserted at position .

int QAccessibleTextInsertEvent:: changePosition () const

Returns the position where the text was inserted.

QString QAccessibleTextInsertEvent:: textInserted () const

Returns the text that has been inserted.