QWhatsThisClickedEvent Class
La classe QWhatsThisClickedEvent fournit un événement permettant de gérer les liens hypertextes contenus dans un texte « Qu'est-ce que c'est ? ». En savoir plus...
| En-tête : | #include <QWhatsThisClickedEvent> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake : | QT += gui |
| Hérite de : | QEvent |
- Liste de tous les membres, y compris les membres hérités
- QWhatsThisClickedEvent fait partie des classes d'événements et du système d'aide.
Fonctions publiques
| QWhatsThisClickedEvent(const QString &href) | |
| QString | href() const |
Fonctions protégées
| QWhatsThisClickedEvent(QWhatsThisClickedEvent &&) | |
| QWhatsThisClickedEvent & | operator=(QWhatsThisClickedEvent &&) |
| QWhatsThisClickedEvent & | operator=(const QWhatsThisClickedEvent &other) |
Voir également QWhatsThis, QHelpEvent et QStatusTipEvent.
Documentation sur les fonctions membres
[explicit] QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString &href)
Crée un événement contenant l'URL spécifiée par href lorsqu'un lien est cliqué dans un message « Qu'est-ce que c'est ? ».
Voir également href().
[protected delete] QWhatsThisClickedEvent::QWhatsThisClickedEvent(QWhatsThisClickedEvent &&)
Crée par « move » une instance de ` QWhatsThisClickedEvent`. Cette fonction a été supprimée.
QString QWhatsThisClickedEvent::href() const
Renvoie l'URL sur laquelle l'utilisateur a cliqué dans le texte « Qu'est-ce que c'est ? ».
[protected delete] QWhatsThisClickedEvent &QWhatsThisClickedEvent::operator=(QWhatsThisClickedEvent &&)
La commande « Move » affecte « other » à cette instance « QWhatsThisClickedEvent ». Cette fonction est supprimée.
[noexcept protected default] QWhatsThisClickedEvent &QWhatsThisClickedEvent::operator=(const QWhatsThisClickedEvent &other)
Copie et attribue other à cette instance 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.