Layouting::Label Class
class Layouting::LabelZavija funkcijo » QLabel « za uporabo v orodju za oblikovanje. Več...
| 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) |
Glejte tudi Layouting::Widget.
Dokumentacija funkcij članov
void Label::onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func)
Poveže » func « s signalom » QLabel::linkActivated «. Povezava se samodejno prekine, ko se » guard « uniči.
void Label::onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func)
Poveže objekt » func « s signalom » QLabel::linkHovered «.
Povezava se samodejno prekine, ko je guard uničen, kar preprečuje nezaželene povezave. Predajte objekt, katerega življenjska doba določa, kdaj naj bo povezava aktivna, običajno this zunanje razreda.
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.