En esta página

QAccessibleTextRemoveEvent Class

La clase QAccessibleTextRemoveEvent notifica la eliminación de un texto. Más...

Cabecera: #include <QAccessibleTextRemoveEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Hereda: QAccessibleTextCursorEvent

Funciones Públicas

QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)
int changePosition() const
QString textRemoved() const

Descripción detallada

Esta clase se utiliza con QAccessible::updateAccessibility().

Documentación de las funciones de los miembros

QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)

Construye un nuevo evento QAccessibleTextRemoveEvent para iface. El text ha sido eliminado en position. Por defecto se asume que el cursor se ha movido a position. Si ese no es el caso, uno necesita establecerlo manualmente con QAccessibleTextCursorEvent::setCursorPosition() para este evento.

QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)

Construye un nuevo evento QAccessibleTextRemoveEvent para object. El text ha sido eliminado en position. Por defecto se asume que el cursor se ha movido a position. Si ese no es el caso, uno necesita establecerlo manualmente con QAccessibleTextCursorEvent::setCursorPosition() para este evento.

int QAccessibleTextRemoveEvent::changePosition() const

Devuelve la posición en la que se eliminó el texto.

QString QAccessibleTextRemoveEvent::textRemoved() const

Devuelve el texto que se ha eliminado.

© 2026 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.