Skip to content

File include/brisk/widgets/Progress.hpp


Progress class

Progress

ProgressA widget that represents the entire progress indicator, including the progress bar and optional decorations.

The Progress class manages the progress value, handles user-defined changes.

If no custom ProgressBar is provided during the construction of Progress, a default instance of ProgressBar is automatically created and linked to it.


ProgressBar class

ProgressBar

ProgressBarA non-standalone widget that represents the moving bar within a Progress widget.

The ProgressBar class is always created as a child widget to a Progress widget. It visually represents the moving bar that indicates the current progress, while the Progress widget represents the entire progress indicator.

If a ProgressBar instance is not explicitly provided when constructing a Progress widget, a default ProgressBar instance will be automatically created and associated with the Progress widget.
Note This class is final and cannot be subclassed.

ProgressBar function (ProgressBar::ProgressBar)

template <WidgetArgument... Args>
explicit ProgressBar(const Args&... args) : Widget(Construction

Constructs a ProgressBar widget.

The ProgressBar is meant to be used only as a child to the Progress widget.
Param args Widget arguments and property values.

updateValue function (ProgressBar::updateValue)

void updateValue()

Updates the value of the progress bar.


Progress class

Progress

ProgressA widget that represents the entire progress indicator, including the progress bar and optional decorations.

The Progress class manages the progress value, handles user-defined changes.

If no custom ProgressBar is provided during the construction of Progress, a default instance of ProgressBar is automatically created and linked to it.

Progress function (Progress::Progress)

template <WidgetArgument... Args>
explicit Progress(const Args&... args) : Progress(Construction

Constructs a Progress widget.
Param args Widget arguments and property values.
Note If a custom instance of ProgressBar widget is not provided, a default one is created.


Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/