Layouting::Label Class
class Layouting::LabelOmotači QLabel a za upotrebu u Layouting builderu. Više...
| Header: | #include <Label> |
| Inherits: | Layouting::Widget |
Javne funkcije
| void | onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func) |
| void | onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func) |
Vidi također Layouting::Widget.
Dokumentacija funkcija člana
void Label::onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func)
Povezuje func s signalom QLabel::linkActivated. Poveznja se automatski prekida kada guard bude uništena.
void Label::onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func)
Povezuje func s signalom QLabel::linkHovered.
Veza se automatski prekida kad guard bude uništen, što sprječava neispravne veze. Proslijedite objekt čiji životni vijek određuje kada veza treba biti aktivna, obično this obuhvatne klase.
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.