이 페이지에서

SpinnerSolution::Spinner Class

class SpinnerSolution::Spinner

Spinner 클래스는 원형의 끝없이 움직이는 진행률 표시기를 렌더링하며, 이 표시기는 오버레이 형태로 어떤 위젯에나 연결할 수 있습니다. 더 보기...

Header: #include <solutions/spinner/spinner.h>
Inherits: QObject

공개 함수

Spinner(SpinnerSolution::SpinnerSize size, QWidget *parent = nullptr)
void hide()
bool isVisible() const
void setColor(const QColor &color)
void setSize(SpinnerSolution::SpinnerSize size)
void setVisible(bool visible)
void show()

상세 설명

멤버 함수 설명

[explicit] Spinner::Spinner(SpinnerSolution::SpinnerSize size, QWidget *parent = nullptr)

전달된 ` parent ` 위젯에 대해 지정된 ` size `을 가진 스피너 오버레이를 생성합니다.

parent 위젯은 생성된 스피너의 소유권을 갖습니다.

void Spinner::hide()

스피너를 숨깁니다.

bool Spinner::isVisible() const

스피너가 표시되어 있으면 ` true `을 반환하고, 그렇지 않으면 ` false`을 반환합니다.

void Spinner::setColor(const QColor &color)

스피너의 색상을 color 로 설정합니다.

void Spinner::setSize(SpinnerSolution::SpinnerSize size)

스피너의 크기를 지정된 size 로 설정합니다.

void Spinner::setVisible(bool visible)

visible 의 값에 따라 스핀너를 표시하거나 숨깁니다. 기본적으로 스핀너는 표시되어 있습니다.

isVisible()도 참조하십시오 .

void Spinner::show()

생성자에서 이전에 설정된 부모 위젯 위에 애니메이션 스핀너를 오버레이 형태로 표시합니다.

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.