QAccessibleTextInsertEvent Class
La clase QAccessibleTextInsertEvent notifica la inserción de texto. Más...
| Cabecera: | #include <QAccessibleTextInsertEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Hereda: | QAccessibleTextCursorEvent |
- Lista de todos los miembros, incluidos los heredados
- QAccessibleTextInsertEvent es parte de 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 QAccessible::updateAccessibility().
Documentación de las funciones de los miembros
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
Construye un nuevo evento QAccessibleTextInsertEvent para iface. El text ha sido insertado en position.
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)
Construye un nuevo evento QAccessibleTextInsertEvent para object. El text ha sido insertado en position. Por defecto, se asume que el cursor se ha movido al final de la selección. Si ese no es el caso, uno necesita 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.