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