diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-05-29 15:23:14 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-30 09:21:22 +0200 |
commit | 6de2c97d064daa069066bb46880f04bfd5be43b7 (patch) | |
tree | 2b2cfc2624e3a668943294649454b44fe2aca9c8 /src/controls/Slider.qml | |
parent | cf3d91d6db86fb74d5968405371c4e83b1410d86 (diff) | |
download | qtquickcontrols-6de2c97d064daa069066bb46880f04bfd5be43b7.tar.gz |
Docs: fix missing/leftover docs, types, tags...
Task-number: QTBUG-31262
Change-Id: I6bf48604b9392a2a9c63c344363188a4693a8547
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Slider.qml')
-rw-r--r-- | src/controls/Slider.qml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index 711c449b..b31d4f78 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -174,19 +174,6 @@ Control { Accessible.role: Accessible.Slider Accessible.name: value - /*! - \qmlmethod Slider::formatValue - - This method returns the current slider value in a way that is more suitable - for user display, such as the \l value rounded to only two decimal places. - - By default this function returns the nearest \c int value. - */ - - function formatValue(v) { - return Math.round(v); - } - style: Qt.createComponent(Settings.style + "/SliderStyle.qml", slider) Keys.onRightPressed: value += (maximumValue - minimumValue)/10.0 |