From 58c5f54f0b772a424c60a8e5184eaf698e744c9a Mon Sep 17 00:00:00 2001 From: Venu Date: Thu, 6 Mar 2014 16:53:40 +0100 Subject: Doc: Added images and missing snippets Task-number: QTBUG-33799 Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f Reviewed-by: J-P Nurmi --- src/controls/ProgressBar.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/controls/ProgressBar.qml') diff --git a/src/controls/ProgressBar.qml b/src/controls/ProgressBar.qml index 6a001f14..6af20e03 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}. */ -- cgit v1.2.1