QAccessibleTextRemoveEvent Class
La clase `QAccessibleTextRemoveEvent` notifica cuando se borra texto. Más información...
| Encabezado: | #include <QAccessibleTextRemoveEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Heredan: | QAccessibleTextCursorEvent |
- Lista de todos los miembros, incluidos los heredados
- QAccessibleTextRemoveEvent forma parte de las clases de accesibilidad.
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 el método ` QAccessible::updateAccessibility()`.
Documentación de las funciones de miembro
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
Crea un nuevo evento `QAccessibleTextRemoveEvent` para ` iface`. Se ha eliminado el ` text ` en position. Por defecto, se supone que el cursor se ha desplazado a position. Si no es así, hay que establecerlo manualmente con QAccessibleTextCursorEvent::setCursorPosition() para este evento.
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)
Crea un nuevo evento `QAccessibleTextRemoveEvent` para ` object`. Se ha eliminado el ` text ` en position. Por defecto, se supone que el cursor se ha desplazado a position. Si no es así, hay que establecerlo manualmente con QAccessibleTextCursorEvent::setCursorPosition() para este evento.
int QAccessibleTextRemoveEvent::changePosition() const
Devuelve la posición en la que se ha eliminado 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.