summaryrefslogtreecommitdiffstats
path: root/src/controls/ProgressBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/ProgressBar.qml')
-rw-r--r--src/controls/ProgressBar.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/controls/ProgressBar.qml b/src/controls/ProgressBar.qml
index 6a001f140..6af20e03b 100644
--- a/src/controls/ProgressBar.qml
+++ b/src/controls/ProgressBar.qml
@@ -49,9 +49,22 @@ import QtQuick.Controls.Private 1.0
\ingroup controls
\brief A progress indicator.
+ \image progressbar.png
+
The ProgressBar is used to give an indication of the progress of an operation.
\l value is updated regularly and must be between \l minimumValue and \l maximumValue.
+ \code
+ Column {
+ ProgressBar {
+ value: 0.5
+ }
+ ProgressBar {
+ indeterminate: true
+ }
+ }
+ \endcode
+
You can create a custom appearance for a ProgressBar by
assigning a \l {QtQuick.Controls.Styles::ProgressBarStyle}{ProgressBarStyle}.
*/