Utils::TextDisplay Class
class Utils::TextDisplayEine Textanzeige ist ein Scheinobjekt, dessen einziger Zweck darin besteht, mithilfe eines `Utils::InfoLabel` Text an Stellen anzuzeigen, an denen andernfalls aufwendigere ` Utils::StringAspect `-Elemente verwendet würden. Mehr...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Öffentliche Funktionen
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Neu implementierte öffentliche Funktionen
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Dokumentation der Mitgliedsfunktionen
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Erstellt eine Textanzeige mit dem übergeordneten Element ` container`. Die Anzeige zeigt ` message ` sowie ein Symbol an, das den Typ ` type` darstellt.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Implementiert: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
Legt „ t “ als Typ der Informationsbeschriftung für die visuelle Darstellung dieses Aspekts fest.
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.