Utils::TextDisplay Class
class Utils::TextDisplayUma exibição de texto é um recurso simulado cujo único objetivo é fornecer a exibição de algum texto por meio de um Utils::InfoLabel em situações em que, de outra forma, seriam utilizados itens mais onerosos, como o Utils::StringAspect. Mais...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Funções públicas
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Funções públicas reimplementadas
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Documentação da função de membro
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Cria uma exibição de texto com o elemento pai ` container`. A exibição mostra ` message ` e um ícone que representa o tipo ` type`.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Reimplementa: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
Define “ t ” como o tipo de etiqueta de informação para a representação visual desse aspecto.
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.