summaryrefslogtreecommitdiff
path: root/src/controls/Slider.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-07-09 18:40:02 +0200
committerJ-P Nurmi <jpnurmi@digia.com>2014-07-09 18:40:02 +0200
commit223ec0f7827fde5609d7d48237a95e9b7c9563e1 (patch)
treeaf8420daede7cd8208adda1c8cb6381b062bdc83 /src/controls/Slider.qml
parenta25023d56f16d8d3c08cc60f7059cf10a3b8a5ba (diff)
parentf2a3019e4332b756b5b27092768bf4039dca7c7a (diff)
downloadqtquickcontrols-223ec0f7827fde5609d7d48237a95e9b7c9563e1.tar.gz
Merge remote-tracking branch 'origin/5.3' into dev
Conflicts: src/controls/ToolBar.qml Change-Id: I5510496219a4ebe8bfced4192307219238ca9bb6
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