QAccessibleTextUpdateEvent Class▲
-
Header: QAccessibleTextUpdateEvent
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
-
qmake: QT += gui
-
Inherits: QAccessibleTextCursorEvent
-
Group: QAccessibleTextUpdateEvent is part of accessibility
Detailed Description▲
This class is used with QAccessible::updateAccessibility().
Member Function Documentation▲
QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *object, int position, const QString &oldText, const QString &text)▲
Constructs a new QAccessibleTextUpdateEvent for object. The text change takes place at position where the oldText was removed and text inserted instead.
QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text)▲
Constructs a new QAccessibleTextUpdateEvent for iface. The text change takes place at position where the oldText was removed and text inserted instead.
int QAccessibleTextUpdateEvent::changePosition() const▲
Returns where the change took place.
QString QAccessibleTextUpdateEvent::textInserted() const▲
Returns the inserted text.
QString QAccessibleTextUpdateEvent::textRemoved() const▲
Returns the removed text.