QAccessibleTextInsertEvent Class
The QAccessibleTextInsertEvent class notifies of text being inserted. More...
Header: | #include <QAccessibleTextInsertEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Inherits: | QAccessibleTextCursorEvent |
- List of all members, including inherited members
- QAccessibleTextInsertEvent is part of Accessibility Classes.
Public Functions
QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) | |
QAccessibleTextInsertEvent(QObject *object, int position, const QString &text) | |
int | changePosition() const |
QString | textInserted() const |
Detailed Description
This class is used with QAccessible::updateAccessibility().
Member Function Documentation
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
Constructs a new QAccessibleTextInsertEvent event for iface. The text has been inserted at position.
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)
Constructs a new QAccessibleTextInsertEvent event for object. The text has been inserted at position. By default, it is assumed that the cursor has moved to the end of the selection. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition() for this event.
int QAccessibleTextInsertEvent::changePosition() const
Returns the position where the text was inserted.
QString QAccessibleTextInsertEvent::textInserted() const
Returns the text that has been inserted.
© 2024 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.