summaryrefslogtreecommitdiff
path: root/src/controls/Slider.qml
diff options
context:
space:
mode:
authorVenu <venugopal.shivashankar@digia.com>2014-03-06 16:53:40 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2014-06-27 12:30:40 +0200
commit58c5f54f0b772a424c60a8e5184eaf698e744c9a (patch)
tree78dd541ef330ca522b34684f8530037f68a71bea /src/controls/Slider.qml
parentc76b9478be9c6aab13bcd8e237db12dec080841e (diff)
downloadqtquickcontrols-58c5f54f0b772a424c60a8e5184eaf698e744c9a.tar.gz
Doc: Added images and missing snippets
Task-number: QTBUG-33799 Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
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 0f7fc033..8746a769 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