diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-08-13 17:38:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-14 13:45:06 +0200 |
commit | 079ffc92b2d248451030993b1daf423d4d217d27 (patch) | |
tree | 5418223ea195da401ca1ec047c9d2dd9fcc31bd4 /src/controls/Slider.qml | |
parent | 2276c74b43f8dbcc9a355f927dc510a07c39d31d (diff) | |
download | qtquickcontrols-079ffc92b2d248451030993b1daf423d4d217d27.tar.gz |
Add support for drawing tick marks with base style
Before this was simply not implemented. It is still a bit unclear
how we should treat stepSize == 0 as the results are somewhat
undefined.
Task-number: QTBUG-31261
Change-Id: I7a8b877649a945cd6cb303cc034df677b0199a90
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Slider.qml')
-rw-r--r-- | src/controls/Slider.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index 1faff3be..0755a817 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -161,7 +161,8 @@ Control { \qmlproperty bool Slider::tickmarksEnabled This property indicates whether the Slider should display tickmarks - at step intervals. + at step intervals. Tick mark spacing is calculated based on the + \l stepSize property. The default value is \c false. */ |