QAccessibleTextRemoveEvent Class
A classe QAccessibleTextRemoveEvent notifica quando um texto está sendo excluído. Mais...
| Cabeçalho: | #include <QAccessibleTextRemoveEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Herdado de: | QAccessibleTextCursorEvent |
- Lista de todos os membros, incluindo os herdados
- QAccessibleTextRemoveEvent faz parte das Classes de Acessibilidade.
Funções públicas
| QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) | |
| QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text) | |
| int | changePosition() const |
| QString | textRemoved() const |
Descrição detalhada
Esta classe é usada com o método ` QAccessible::updateAccessibility()`.
Documentação da função de membro
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
Cria um novo evento `QAccessibleTextRemoveEvent` para ` iface`. O ` text ` foi removido em position. Por padrão, presume-se que o cursor tenha se deslocado para position. Se esse não for o caso, é necessário defini-lo manualmente com QAccessibleTextCursorEvent::setCursorPosition() para este evento.
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)
Cria um novo evento `QAccessibleTextRemoveEvent` para ` object`. O ` text ` foi removido em position. Por padrão, presume-se que o cursor tenha se deslocado para position. Se esse não for o caso, é necessário defini-lo manualmente com QAccessibleTextCursorEvent::setCursorPosition() para este evento.
int QAccessibleTextRemoveEvent::changePosition() const
Retorna a posição em que o texto foi removido.
QString QAccessibleTextRemoveEvent::textRemoved() const
Retorna o texto que foi removido.
© 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.