Utils::TextDisplay Class
class Utils::TextDisplayEn tekstvisning er et fiktivt element, hvis eneste formål er at vise tekst ved hjælp af en Utils::InfoLabel på steder, hvor der ellers ville blive brugt mere ressourcekrævende Utils::StringAspect -elementer. Mere...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Offentlige funktioner
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Genimplementerede offentlige funktioner
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Dokumentation af medlemsfunktioner
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Opretter en tekstvisning med overordnede container. Visningen viser message og et ikon, der repræsenterer typen type.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Genimplementerer: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
Indstiller » t « som typen for informationsmærket til den visuelle fremstilling af dette 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.