aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/doc/src/qtquickcontrols2-customize.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/doc/src/qtquickcontrols2-customize.qdoc')
-rw-r--r--src/controls/doc/src/qtquickcontrols2-customize.qdoc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/controls/doc/src/qtquickcontrols2-customize.qdoc b/src/controls/doc/src/qtquickcontrols2-customize.qdoc
index 7bbd0d71..a89c8d69 100644
--- a/src/controls/doc/src/qtquickcontrols2-customize.qdoc
+++ b/src/controls/doc/src/qtquickcontrols2-customize.qdoc
@@ -78,6 +78,24 @@
\snippet CheckBox.qml indicator
+ \section1 Customizing ProgressBar
+
+ ProgressBar consists of two parts: \l {Control::background}{background}
+ and \l {ProgressBar::indicator}{indicator}. Their implicit sizes are used
+ to calculate the implicit size of the control.
+
+ \section3 Background
+
+ \image qtquickcontrols2-progressbar-background.png
+
+ \snippet ProgressBar.qml background
+
+ \section3 Indicator
+
+ \image qtquickcontrols2-progressbar-indicator.png
+
+ \snippet ProgressBar.qml indicator
+
\section1 Customizing RadioButton
RadioButton consists of three parts: \l {Control::background}{background},