このページでは

Utils::ProgressIndicator Class

class Utils::ProgressIndicator

ProgressIndicator クラスは、円形の、無限にアニメーションする進行状況インジケーターを表示します。詳細...

Header: #include <ProgressIndicator>
Inherits: Utils::OverlayWidget

パブリック関数

ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)
void setIndicatorSize(Utils::ProgressIndicatorSize size)
QSize sizeHint() const

詳細な説明

何らかの処理が実行中であることを示したいが、プログレスバーに必要な詳細な進行状況情報がない場合に使用します。ウィジェットを必要に応じて動的に生成することも、一度生成して必要に応じてのみ表示させることも可能です。アニメーションは、ウィジェットが表示されている間のみ実行されます。

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

[explicit] ProgressIndicator::ProgressIndicator(Utils::ProgressIndicatorSize size, QWidget *parent = nullptr)

サイズがsize で、親がparent であるProgressIndicatorを生成します。

setIndicatorSize()も参照してください 。

void ProgressIndicator::setIndicatorSize(Utils::ProgressIndicatorSize size)

進行状況インジケーターのサイズを `size` に変更します。

ProgressIndicatorPainter::indicatorSize()も参照してください 。

QSize ProgressIndicator::sizeHint() const

インジケータのサイズを、デバイス非依存ピクセル単位で返します。

ProgressIndicatorPainter::indicatorSize()も参照してください 。

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.