Utils::TextDisplay Class
class Utils::TextDisplayEn textvisning är en simulering vars enda syfte är att tillhandahålla en viss textvisning med hjälp av en Utils::InfoLabel på platser där man annars skulle använda mer resurskrävande Utils::StringAspect -objekt. Mer...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Offentliga funktioner
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Omimplementerade offentliga funktioner
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Dokumentation för medlemsfunktioner
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Skapar en textdisplay med överordnad container. Displayen visar message och en ikon som representerar typen type.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Omskriver: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
Ställer in ” t ” som typ för informationsetiketten för den visuella framställningen av denna aspekt.
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.