Класс QAccessibleTextCursorEvent
Класс QAccessibleTextCursorEvent сообщает об изменениях позиции курсора. Подробнее...
| Заголовок: | #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) |
- 5 открытых функций, унаследованных от QAccessibleEvent
Подробное описание
Класс QAccessibleTextCursorEvent сообщает об изменениях позиции курсора.
Этот класс используется с QAccessible::updateAccessibility().
Документация по членам-функциям
QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *object, int cursorPos)
Создаёт новый экземпляр QAccessibleTextCursorEvent для объекта object. cursorPos — новая позиция курсора.
QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)
Создаёт новый экземпляр QAccessibleTextCursorEvent для интерфейса iface. cursorPos — новая позиция курсора.
int QAccessibleTextCursorEvent::cursorPosition() const
Возвращает позицию курсора.
См. также setCursorPosition().
void QAccessibleTextCursorEvent::setCursorPosition(int position)
Устанавливает позицию курсора position для данного события.
См. также cursorPosition().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.11/qaccessibletextcursorevent.html