Commit 08a8ce79 authored by J-P Nurmi's avatar J-P Nurmi Committed by The Qt Project
Browse files

Slider: fix qdoc warnings


Change-Id: I85578b85ddad347e84dab71395fa5394d0e5cb8e
Reviewed-by: default avatarCaroline Chao <caroline.chao@digia.com>
parent 7df47a7b
6.2 5.10 5.11 5.12 5.12.1 5.12.10 5.12.11 5.12.12 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13 5.13.0 5.13.1 5.13.2 5.14 5.14.0 5.14.1 5.14.2 5.15 5.15.0 5.15.1 5.15.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.9.8 dev old/5.1 old/5.2 wip/calendar wip/tizen v5.15.0-alpha1 v5.14.1 v5.14.0 v5.14.0-rc2 v5.14.0-rc1 v5.14.0-beta3 v5.14.0-beta2 v5.14.0-beta1 v5.14.0-alpha1 v5.13.2 v5.13.1 v5.13.0 v5.13.0-rc3 v5.13.0-rc2 v5.13.0-rc1 v5.13.0-beta4 v5.13.0-beta3 v5.13.0-beta2 v5.13.0-beta1 v5.13.0-alpha1 v5.12.7 v5.12.6 v5.12.5 v5.12.4 v5.12.3 v5.12.2 v5.12.1 v5.12.0 v5.12.0-rc2 v5.12.0-rc1 v5.12.0-beta4 v5.12.0-beta3 v5.12.0-beta2 v5.12.0-beta1 v5.12.0-alpha1 v5.11.3 v5.11.2 v5.11.1 v5.11.0 v5.11.0-rc2 v5.11.0-rc1 v5.11.0-beta4 v5.11.0-beta3 v5.11.0-beta2 v5.11.0-beta1 v5.11.0-alpha1 v5.10.1 v5.10.0 v5.10.0-rc3 v5.10.0-rc2 v5.10.0-rc1 v5.10.0-beta4 v5.10.0-beta3 v5.10.0-beta2 v5.10.0-beta1 v5.10.0-alpha1 v5.9.9 v5.9.8 v5.9.7 v5.9.6 v5.9.5 v5.9.4 v5.9.3 v5.9.2 v5.9.1 v5.9.0 v5.9.0-rc2 v5.9.0-rc1 v5.9.0-beta4 v5.9.0-beta3 v5.9.0-beta2 v5.9.0-beta1 v5.9.0-alpha1 v5.8.0 v5.8.0-rc1 v5.8.0-beta1 v5.8.0-alpha1 v5.7.1 v5.7.0 v5.7.0-rc1 v5.7.0-beta1 v5.7.0-alpha1 v5.6.3 v5.6.2 v5.6.1 v5.6.1-1 v5.6.0 v5.6.0-rc1 v5.6.0-beta1 v5.6.0-alpha1 v5.5.1 v5.5.0 v5.5.0-rc1 v5.5.0-beta1 v5.5.0-alpha1 v5.4.2 v5.4.1 v5.4.0 v5.4.0-rc1 v5.4.0-beta1 v5.4.0-alpha1 v5.3.2 v5.3.1 v5.3.0 v5.3.0-rc1 v5.3.0-beta1 v5.3.0-alpha1 v5.2.1 v5.2.0 v5.2.0-rc1 v5.2.0-beta1 v5.2.0-alpha1 v5.1.1 v5.1.0 v5.1.0-rc2 v5.1.0-rc1 v5.1.0-beta1 v5.1.0-alpha1
No related merge requests found
Showing with 14 additions and 14 deletions
...@@ -70,7 +70,7 @@ Item { ...@@ -70,7 +70,7 @@ Item {
\qmlproperty enum Slider::orientation \qmlproperty enum Slider::orientation
This property holds the layout orientation of the slider. This property holds the layout orientation of the slider.
The default value is \code Qt.Horizontal The default value is \c Qt.Horizontal
*/ */
property int orientation: Qt.Horizontal property int orientation: Qt.Horizontal
...@@ -78,7 +78,7 @@ Item { ...@@ -78,7 +78,7 @@ Item {
\qmlproperty double Slider::minimumValue \qmlproperty double Slider::minimumValue
This property holds the minimum value of the Slider This property holds the minimum value of the Slider
The default value is \code 0.0 The default value is \c 0.0
*/ */
property alias minimumValue: range.minimumValue property alias minimumValue: range.minimumValue
...@@ -86,11 +86,11 @@ Item { ...@@ -86,11 +86,11 @@ Item {
\qmlproperty double Slider::maximumValue \qmlproperty double Slider::maximumValue
This property holds the maximum value of the Slider This property holds the maximum value of the Slider
The default value is \code 1.0 The default value is \c 1.0
*/ */
property alias maximumValue: range.maximumValue property alias maximumValue: range.maximumValue
/* \internal */ /*! \internal */
property alias inverted: range.inverted property alias inverted: range.inverted
...@@ -102,7 +102,7 @@ Item { ...@@ -102,7 +102,7 @@ Item {
The property can for instance be used if changing the slider value can be The property can for instance be used if changing the slider value can be
time consuming. time consuming.
The default value is \code true The default value is \c true
*/ */
property bool updateValueWhileDragging: true property bool updateValueWhileDragging: true
...@@ -124,14 +124,14 @@ Item { ...@@ -124,14 +124,14 @@ Item {
Any non 0 value indicates a discrete stepSize. The following example Any non 0 value indicates a discrete stepSize. The following example
will generate a slider with integer values in the range [0-5] will generate a slider with integer values in the range [0-5]
\code \qml
Slider { Slider {
maximumValue: 5.0 maximumValue: 5.0
stepSize: 1.0 stepSize: 1.0
} }
\endcode \endqml
The default value is \code 0 The default value is \c 0
*/ */
property alias stepSize: range.stepSize property alias stepSize: range.stepSize
...@@ -140,7 +140,7 @@ Item { ...@@ -140,7 +140,7 @@ Item {
\qmlproperty double Slider::value \qmlproperty double Slider::value
This property holds the current value of the Slider This property holds the current value of the Slider
The default value is \code 0.0 The default value is \c 0.0
*/ */
property alias value: range.value property alias value: range.value
...@@ -161,11 +161,11 @@ Item { ...@@ -161,11 +161,11 @@ Item {
This property indicates if the Slider should display tickmarks This property indicates if the Slider should display tickmarks
at step intervals. at step intervals.
The default value is \code false The default value is \c false
*/ */
property bool tickmarksEnabled: false property bool tickmarksEnabled: false
/* \internal*/ /*! \internal */
property string tickPosition: "Below" // "Above", "Below", "BothSides" property string tickPosition: "Below" // "Above", "Below", "BothSides"
Accessible.role: Accessible.Slider Accessible.role: Accessible.Slider
...@@ -177,17 +177,17 @@ Item { ...@@ -177,17 +177,17 @@ Item {
This method returns the current slider value in a way that is more suitable 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. for user display, such as the \l value rounded to only two decimal places.
By default this function returns the nearest \code int value. By default this function returns the nearest \c int value.
*/ */
function formatValue(v) { function formatValue(v) {
return Math.round(v); return Math.round(v);
} }
/* \internal */ /*! \internal */
property var styleHints:[] property var styleHints:[]
/* \internal */ /*! \internal */
property Component style: Qt.createComponent(Settings.THEME_PATH + "/SliderStyle.qml", slider) property Component style: Qt.createComponent(Settings.THEME_PATH + "/SliderStyle.qml", slider)
Keys.onRightPressed: value += (maximumValue - minimumValue)/10.0 Keys.onRightPressed: value += (maximumValue - minimumValue)/10.0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment