QAccessibleTextCursorEvent 类

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 ().

成员函数文档编制

QAccessibleTextCursorEvent:: QAccessibleTextCursorEvent ( QObject * object , int cursorPos )

Create a new QAccessibleTextCursorEvent for object cursorPos 是新的光标位置。

QAccessibleTextCursorEvent:: QAccessibleTextCursorEvent ( QAccessibleInterface * iface , int cursorPos )

Create a new QAccessibleTextCursorEvent for iface cursorPos 是新的光标位置。

int QAccessibleTextCursorEvent:: cursorPosition () const

返回光标位置。

另请参阅 setCursorPosition ().

void QAccessibleTextCursorEvent:: setCursorPosition ( int position )

设置光标 position 对于此事件而言。

另请参阅 cursorPosition ().