summaryrefslogtreecommitdiff
path: root/src/controls/BusyIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/BusyIndicator.qml')
-rw-r--r--src/controls/BusyIndicator.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/controls/BusyIndicator.qml b/src/controls/BusyIndicator.qml
index e995579d..761c0675 100644
--- a/src/controls/BusyIndicator.qml
+++ b/src/controls/BusyIndicator.qml
@@ -49,9 +49,19 @@ import QtQuick.Controls.Private 1.0
\ingroup controls
\brief A busy indicator.
+ \image busyindicator.png
+
The busy indicator should be used to indicate activity while content is
being loaded or the UI is blocked waiting for a resource to become available.
+ The following snippet shows how to use the BusyIndicator:
+
+ \qml
+ BusyIndicator {
+ running: image.status === Image.Loading
+ }
+ \endqml
+
You can create a custom appearance for a Busy Indicator by
assigning a \l {QtQuick.Controls.Styles::BusyIndicatorStyle}{BusyIndicatorStyle}.
*/