このページでは

Utils::TextDisplay Class

class Utils::TextDisplay

テキスト表示は、本来なら処理負荷の高いUtils::StringAspect アイテムが使用されるような場面において、Utils::InfoLabelを用いて何らかのテキスト表示を行うことのみを目的とした、見せかけの機能です。詳細...

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

パブリック関数

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

再実装されたパブリック関数

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

詳細な説明

テキスト表示には実際の値はありません。

メンバ関数のドキュメント

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

親要素container を持つテキスト表示を構築します。この表示には、message と、タイプtype を表すアイコンが表示されます。

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

BaseAspect::addToLayoutImpl (Layouting::Layout &parent)を再実装しています。

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

このアスペクトの視覚的表現における情報ラベルの種類として、「t 」を設定します。

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.