Na ovoj stranici

Utils::TextDisplay Class

class Utils::TextDisplay

Prikaz teksta je lažni aspekt čija je jedina svrha omogućiti prikaz teksta pomoću Utils::InfoLabel na mjestima gdje bi inače bile korištene skuplje stavke Utils::StringAspect. Više...

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

Javne funkcije

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

Ponovno implementirane javne funkcije

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

Detaljan opis

Prikaz teksta nema stvarnu vrijednost.

Dokumentacija funkcija članova

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

Konstruira prikaz teksta s roditeljskim container. Prikaz prikazuje message i ikonu koja predstavlja tip type.

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

Ponovno implementira: BaseAspect::addToLayoutImpl(Layouting::Layout &parent).

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

Postavlja t kao tip informacijske oznake za vizualni prikaz ovog aspekta.

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.