QWhatsThisClickedEvent Class
A classe QWhatsThisClickedEvent oferece um evento que pode ser usado para lidar com hiperlinks em um texto do tipo “O que é isso?”. Mais...
| Cabeçalho: | #include <QWhatsThisClickedEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Herdado de: | QEvent |
- Lista de todos os membros, incluindo os herdados
- QWhatsThisClickedEvent faz parte das Classes de Eventos e do Sistema de Ajuda.
Funções públicas
| QWhatsThisClickedEvent(const QString &href) | |
| QString | href() const |
Funções protegidas
| QWhatsThisClickedEvent(QWhatsThisClickedEvent &&) | |
| QWhatsThisClickedEvent & | operator=(QWhatsThisClickedEvent &&) |
| QWhatsThisClickedEvent & | operator=(const QWhatsThisClickedEvent &other) |
Veja também QWhatsThis, QHelpEvent e QStatusTipEvent.
Documentação das funções de membro
[explicit] QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString &href)
Cria um evento contendo uma URL especificada por href quando um link é clicado em uma mensagem do tipo “O que é isso?”.
Veja também href().
[protected delete] QWhatsThisClickedEvent::QWhatsThisClickedEvent(QWhatsThisClickedEvent &&)
Cria uma instância de ` QWhatsThisClickedEvent` por meio da função `move`. Essa função foi excluída.
QString QWhatsThisClickedEvent::href() const
Retorna a URL na qual o usuário clicou no texto “O que é isso?”.
[protected delete] QWhatsThisClickedEvent &QWhatsThisClickedEvent::operator=(QWhatsThisClickedEvent &&)
A função “Move-assigns” atribui o objeto “ other ” a esta instância de “ QWhatsThisClickedEvent ”. Essa função é excluída.
[noexcept protected default] QWhatsThisClickedEvent &QWhatsThisClickedEvent::operator=(const QWhatsThisClickedEvent &other)
Copia e atribui other a esta instância de QWhatsThisClickedEvent.
© 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.