QAccessibleTextSelectionEvent signals a change in the text selection of an object. 更多...
| 头: | #include <QAccessibleTextSelectionEvent> |
| qmake: | QT += gui |
| 继承: | QAccessibleTextCursorEvent |
| QAccessibleTextSelectionEvent (QObject * object , int start , int end ) | |
| QAccessibleTextSelectionEvent (QAccessibleInterface * iface , int start , int end ) | |
| int | selectionEnd () const |
| int | selectionStart () const |
| void | setSelection (int start , int end ) |
| int | m_selectionEnd |
| int | m_selectionStart |
QAccessibleTextSelectionEvent signals a change in the text selection of an object.
此类用于 QAccessible::updateAccessibility ().
构造新的 QAccessibleTextSelectionEvent for object 。此事件通知新选定即将从位置 start to end .
构造新的 QAccessibleTextSelectionEvent for iface 。此事件通知新选定即将从位置 start to end .
返回最后选中字符的位置。
返回第一选中字符的位置。
设置用于此事件的选定从位置 start to end .