SpinnerSolution::Spinner Class
class SpinnerSolution::SpinnerSpinner クラスは、円形の、無限にアニメーションする進行状況インジケーターを描画し、オーバーレイとして任意のウィジェットに追加することができます。詳細...
| 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.