Layouting::Label Class
class Layouting::LabelIncorpora QLabel per l'utilizzo in un generatore di layout. Altro...
| Header: | #include <Label> |
| Inherits: | Layouting::Widget |
Funzioni pubbliche
| void | onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func) |
| void | onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func) |
Vedi anche Layouting::Widget.
Documentazione sulle funzioni dei membri
void Label::onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func)
Collega ` func ` al segnale ` QLabel::linkActivated `. Il collegamento viene automaticamente rimosso quando ` guard ` viene distrutto.
void Label::onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func)
Collega ` func ` al segnale ` QLabel::linkHovered `.
La connessione viene automaticamente rimossa quando guard viene distrutto, il che impedisce la creazione di connessioni sospese. Passare l'oggetto il cui ciclo di vita determina quando la connessione deve essere attiva, in genere this della classe contenente.
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.