이 페이지에서

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.