Utils::TextDisplay Class
class Utils::TextDisplayA szövegmegjelenítés egy látszatfunkció, amelynek egyetlen célja, hogy az Utils::InfoLabel segítségével szöveget jelenítsen meg olyan helyeken, ahol egyébként erőforrás-igényesebb Utils::StringAspect elemeket használnának. Tovább...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Nyilvános függvények
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Újraimplementált nyilvános függvények
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Tagfüggvény-dokumentáció
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Létrehoz egy szövegkijelzőt, amelynek szülőeleme az ` container`. A kijelzőn a „ message ” felirat és a típust jelző ikon jelenik meg: ` type`.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Újra megvalósítja: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
t -t állítja be az adott aspektus vizuális ábrázolásának információs címke-típusaként.
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.