Layouting::Label Class
class Layouting::LabelBündelt „ QLabel “ zur Verwendung in einem Layout-Builder. Mehr...
| Header: | #include <Label> |
| Inherits: | Layouting::Widget |
Öffentliche Funktionen
| void | onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func) |
| void | onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func) |
Siehe auch „ Layouting::Widget “.
Dokumentation zu den Member-Funktionen
void Label::onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func)
Verbindet „ func “ mit dem Signal „ QLabel::linkActivated “. Die Verbindung wird automatisch aufgehoben, wenn „ guard “ zerstört wird.
void Label::onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func)
Verbindet „ func “ mit dem Signal „ QLabel::linkHovered “.
Die Verbindung wird automatisch entfernt, wenn „ guard “ zerstört wird, wodurch hängende Verbindungen verhindert werden. Übergeben Sie das Objekt, dessen Lebensdauer bestimmt, wann die Verbindung aktiv sein soll – in der Regel „ this “ der umschließenden Klasse.
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.