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 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 event for iface . The text has been inserted at position .
Returns the position where the text was inserted.
Returns the text that has been inserted.