diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2013-04-11 17:26:52 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-12 15:55:34 +0200 |
commit | 96a7866dc48f5621d07d6e784cd72d9c285e91bc (patch) | |
tree | ae1b8c293d007e4bd092442160d520191d8a822f /src/controls/Slider.qml | |
parent | ca84d2c3c6988c9135fc57fbb9233464fa95db26 (diff) | |
download | qtquickcontrols-96a7866dc48f5621d07d6e784cd72d9c285e91bc.tar.gz |
Doc fix: Change double to real
Change-Id: Iccb50c20e7a5806bf4a72956eeb7097c1bf0ccc2
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Slider.qml')
-rw-r--r-- | src/controls/Slider.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index 3ccf4a64..0493d934 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -75,7 +75,7 @@ Control { property int orientation: Qt.Horizontal /*! - \qmlproperty double Slider::minimumValue + \qmlproperty real Slider::minimumValue This property holds the minimum value of the Slider. The default value is \c{0.0}. @@ -83,7 +83,7 @@ Control { property alias minimumValue: range.minimumValue /*! - \qmlproperty double Slider::maximumValue + \qmlproperty real Slider::maximumValue This property holds the maximum value of the Slider The default value is \c{1.0}. @@ -110,7 +110,7 @@ Control { property alias pressed: mouseArea.pressed /*! - \qmlproperty double Slider::stepSize + \qmlproperty real Slider::stepSize This property indicates the slider step size. @@ -132,7 +132,7 @@ Control { property alias stepSize: range.stepSize /*! - \qmlproperty double Slider::value + \qmlproperty real Slider::value This property holds the current value of the Slider. The default value is \c{0.0}. @@ -264,7 +264,7 @@ Control { horizontalMaximumValue: slider.maximumValue verticalMinimumValue: slider.minimumValue verticalMaximumValue: slider.maximumValue - property double step: (slider.maximumValue - slider.minimumValue)/(range.positionAtMaximum - range.positionAtMinimum) + property real step: (slider.maximumValue - slider.minimumValue)/(range.positionAtMaximum - range.positionAtMinimum) onVerticalWheelMoved: { if (verticalDelta !== 0) { |