Layouting::Label Class
class Layouting::LabelEnveloppe la classe ` QLabel ` pour une utilisation dans un générateur de mise en page. En savoir plus...
| Header: | #include <Label> |
| Inherits: | Layouting::Widget |
Fonctions publiques
| void | onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func) |
| void | onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func) |
Voir également Layouting::Widget.
Documentation sur les fonctions des membres
void Label::onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func)
Relie ` func ` au signal ` QLabel::linkActivated `. La connexion est automatiquement supprimée lorsque ` guard ` est détruit.
void Label::onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func)
Relie ` func ` au signal ` QLabel::linkHovered `.
La connexion est automatiquement supprimée lorsque guard est détruit, ce qui évite les connexions orphelines. Passez l’objet dont la durée de vie détermine quand la connexion doit être active, généralement this de la classe englobante.
Copyright © The Qt Company Ltd. and other contributors. 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.