The QAccessibleTextInsertEvent class notifies of text being inserted. More...
Header: | #include <QAccessibleTextInsertEvent> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Inherits: | QAccessibleTextCursorEvent |
QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) | |
QAccessibleTextInsertEvent(QObject *object, int position, const QString &text) | |
int | changePosition() const |
QString | textInserted() const |
This class is used with QAccessible::updateAccessibility().
Constructs a new QAccessibleTextInsertEvent event for iface. The text has been inserted at position.
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.
Returns the position where the text was inserted.
Returns the text that has been inserted.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qaccessibletextinsertevent.html