The QAccessibleTextCursorEvent class notifies of cursor movements. 更多...
头: | #include <QAccessibleTextCursorEvent> |
qmake: | QT += gui |
继承: | QAccessibleEvent |
继承者: | QAccessibleTextInsertEvent , QAccessibleTextRemoveEvent , QAccessibleTextSelectionEvent ,和 QAccessibleTextUpdateEvent |
QAccessibleTextCursorEvent (QObject * object , int cursorPos ) | |
QAccessibleTextCursorEvent (QAccessibleInterface * iface , int cursorPos ) | |
int | cursorPosition () const |
void | setCursorPosition (int position ) |
int | m_cursorPosition |
The QAccessibleTextCursorEvent class notifies of cursor movements.
此类用于 QAccessible::updateAccessibility ().
Create a new QAccessibleTextCursorEvent for object 。 cursorPos 是新的光标位置。
Create a new QAccessibleTextCursorEvent for iface , cursorPos 是新的光标位置。
返回光标位置。
另请参阅 setCursorPosition ().
设置光标 position 对于此事件而言。
另请参阅 cursorPosition ().