Utils::TextDisplay Class
class Utils::TextDisplayUn affichage de texte est un aspect factice dont le seul but est de permettre l'affichage de texte à l'aide d'un Utils::InfoLabel dans des cas où, autrement, on aurait recours à des éléments plus gourmands en ressources, tels que les éléments ` Utils::StringAspect `. En savoir plus...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Fonctions publiques
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Fonctions publiques réimplémentées
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Documentation sur les fonctions membres
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Crée un affichage de texte dont le parent est container. L'affichage indique message et comporte une icône représentant le type type.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Réimplémente : BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
Définit « t » comme type d'étiquette d'information pour la représentation visuelle de cet aspect.
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.