Layouting::Label Class
class Layouting::LabelQLabel -t burkolja be, hogy elrendezés-készítőben használható legyen. Tovább...
| Header: | #include <Label> |
| Inherits: | Layouting::Widget |
Nyilvános függvények
| void | onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func) |
| void | onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func) |
Lásd még: Layouting::Widget.
Tagfüggvény-dokumentáció
void Label::onLinkActivated(QObject *guard, const std::function<void (const QString &)> &func)
Összekapcsolja a ` func `-t a ` QLabel::linkActivated ` jelével. A kapcsolat automatikusan megszűnik, amikor a ` guard ` megsemmisül.
void Label::onLinkHovered(QObject *guard, const std::function<void (const QString &)> &func)
Összeköti a ` func ` objektumot az ` QLabel::linkHovered ` jelével.
A kapcsolat automatikusan megszűnik, amikor a ` guard ` megsemmisül, ami megakadályozza a függőben maradó kapcsolatok kialakulását. Adja meg azt az objektumot, amelynek élettartama határozza meg, hogy a kapcsolat mikor legyen aktív; általában ez a körülvevő osztály ` this `-je.
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.