In questa pagina

Utils::TextDisplay Class

class Utils::TextDisplay

Una visualizzazione di testo è un elemento fittizio il cui unico scopo è quello di fornire una visualizzazione di testo tramite un oggetto `Utils::InfoLabel` in contesti in cui altrimenti verrebbero utilizzati elementi ` Utils::StringAspect `, più onerosi in termini di risorse. Per saperne di più...

Header: #include <TextDisplay>
Inherits: Utils::BaseAspect

Funzioni pubbliche

TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)
void setIconType(Utils::InfoLabel::InfoType t)

Funzioni pubbliche reimplementate

virtual void addToLayoutImpl(Layouting::Layout &parent) override

Descrizione dettagliata

Un "text display" non ha un valore reale.

Documentazione delle funzioni membro

[explicit] TextDisplay::TextDisplay(Utils::AspectContainer *container = nullptr, const QString &message = {}, Utils::InfoLabel::InfoType type = InfoLabel::None)

Crea un elemento di visualizzazione testo con l'container come elemento padre. L'elemento di visualizzazione mostra il testo message e un'icona che rappresenta il tipo type.

[override virtual] void TextDisplay::addToLayoutImpl(Layouting::Layout &parent)

Reimplementa: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).

void TextDisplay::setIconType(Utils::InfoLabel::InfoType t)

Imposta “ t ” come tipo di etichetta informativa per la rappresentazione visiva di questo aspetto.

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.