Utils::TextDisplay Class
class Utils::TextDisplayUna visualización de texto es un elemento ficticio cuyo único propósito es mostrar texto mediante un Utils::InfoLabel en aquellos casos en los que, de otro modo, se utilizarían elementos « Utils::StringAspect » más costosos. Más...
| Header: | #include <TextDisplay> |
| Inherits: | Utils::BaseAspect |
Funciones públicas
| TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None) | |
| void | setIconType(Utils::InfoLabel::InfoType t) |
Funciones públicas reimplementadas
| virtual void | addToLayoutImpl(Layouting::Layout &parent) override |
Documentación de funciones de miembro
[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
Crea una visualización de texto con el elemento padre container. La visualización muestra message y un icono que representa el tipo type.
[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)
Reimplementa: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).
void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)
Establece « t » como tipo de etiqueta informativa para la representación visual de este 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.