QAccessibleTextCursorEvent Class
The QAccessibleTextCursorEvent class notifies of cursor movements. More...
Header: | #include <QAccessibleTextCursorEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Inherits: | QAccessibleEvent |
Inherited By: | QAccessibleTextInsertEvent, QAccessibleTextRemoveEvent, QAccessibleTextSelectionEvent, and QAccessibleTextUpdateEvent |
- List of all members, including inherited members
- QAccessibleTextCursorEvent is part of Accessibility Classes.
Public Functions
QAccessibleTextCursorEvent(QObject *object, int cursorPos) | |
QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos) | |
int | cursorPosition() const |
void | setCursorPosition(int position) |
Detailed Description
This class is used with QAccessible::updateAccessibility().
Member Function Documentation
QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *object, int cursorPos)
Create a new QAccessibleTextCursorEvent for object. The cursorPos is the new cursor position.
QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)
Create a new QAccessibleTextCursorEvent for iface, The cursorPos is the new cursor position.
int QAccessibleTextCursorEvent::cursorPosition() const
Returns the cursor position.
See also setCursorPosition().
void QAccessibleTextCursorEvent::setCursorPosition(int position)
Sets the cursor position for this event.
See also cursorPosition().
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.