QAccessibleTextSelectionEvent signals a change in the text selection of an object. More...
Header: | #include <QAccessibleTextSelectionEvent> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Inherits: | QAccessibleTextCursorEvent |
QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end) | |
QAccessibleTextSelectionEvent(QObject *object, int start, int end) | |
int | selectionEnd() const |
int | selectionStart() const |
void | setSelection(int start, int end) |
This class is used with QAccessible::updateAccessibility().
Constructs a new QAccessibleTextSelectionEvent for iface. The new selection this event notifies about is from position start to end.
Constructs a new QAccessibleTextSelectionEvent for object. The new selection this event notifies about is from position start to end.
Returns the position of the last selected character.
Returns the position of the first selected character.
Sets the selection for this event from position start to end.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qaccessibletextselectionevent.html