summaryrefslogtreecommitdiff
path: root/src/controls/Slider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Slider.qml')
-rw-r--r--src/controls/Slider.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml
index af5b89cd..94653bf8 100644
--- a/src/controls/Slider.qml
+++ b/src/controls/Slider.qml
@@ -49,13 +49,15 @@ import QtQuick.Controls.Private 1.0
\ingroup controls
\brief Provides a vertical or horizontal slider control.
+ \image slider.png
+
The slider is the classic control for providing a bounded value. It lets
the user move a slider handle along a horizontal or vertical groove
and translates the handle's position into a value within the legal range.
\code
Slider {
- onValueChanged: print(value)
+ value: 0.5
}
\endcode