ProgressIndicator Class
class Utils::ProgressIndicatorThe ProgressIndicator class shows an circular, endlessly animated progress indicator. More...
Header: | #include <ProgressIndicator> |
Inherits: | Utils::OverlayWidget |
Public Functions
ProgressIndicator(ProgressIndicatorSize size, QWidget *parent = nullptr) | |
void | setIndicatorSize(ProgressIndicatorSize size) |
Reimplemented Public Functions
virtual QSize | sizeHint() const override |
Reimplemented Protected Functions
Detailed Description
Use it if you want to indicate that some work is being done, but you do not have the detailed progress information needed for a progress bar. You can either create the widget on demand, or create the widget once and only show it on demand. The animation only runs while the widget is visible.
\inmodule
Qt Creator
Member Function Documentation
[explicit]
ProgressIndicator::ProgressIndicator(ProgressIndicatorSize size, QWidget *parent = nullptr)
Constructs a ProgressIndicator of the size size and with the parent parent.
See also setIndicatorSize().
[override virtual protected]
void ProgressIndicator::hideEvent(QHideEvent *)
Reimplements: QWidget::hideEvent(QHideEvent *event).
\internal
void ProgressIndicator::setIndicatorSize(ProgressIndicatorSize size)
Changes the size of the progress indicator to size.
See also ProgressIndicatorPainter::indicatorSize().
[override virtual protected]
void ProgressIndicator::showEvent(QShowEvent *)
Reimplements: QWidget::showEvent(QShowEvent *event).
\internal
[override virtual]
QSize ProgressIndicator::sizeHint() const
Reimplements an access function for property: QWidget::sizeHint.
Returns the size of the indicator in device independent pixels.
See also ProgressIndicatorPainter::indicatorSize().