diff options
| author | Nico Vertriest <nico.vertriest@digia.com> | 2013-03-25 12:40:27 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-05 13:48:26 +0200 |
| commit | 9a741263dbc52e171bf1277f46efb0b8eb73c4df (patch) | |
| tree | e28813ea790000e7f62ab2dbcb731cc3b934037c /src/controls/Slider.qml | |
| parent | 607090bb3410b8c4b2d6b473f0365bfffe94fd54 (diff) | |
| download | qtquickcontrols-9a741263dbc52e171bf1277f46efb0b8eb73c4df.tar.gz | |
Doc: minor language edits
Concerning vocab., punctuation, syntax and/or Writing Guidelines.
Corrected whitespace issues.
Replaced "if" with "whether" in Slider.qml
Task-number: QTBUG-30318
Change-Id: I0e0e8d2b807f0a6534deb2caa6dbee7eb206f43b
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Diffstat (limited to 'src/controls/Slider.qml')
| -rw-r--r-- | src/controls/Slider.qml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index 9c25186b..c606ff5e 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -47,7 +47,7 @@ import "Styles/Settings.js" as Settings \qmltype Slider \inqmlmodule QtQuick.Controls 1.0 \ingroup controls - \brief Slider provides a vertical or horizontal slider control. + \brief Provides a vertical or horizontal slider control. 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 @@ -70,15 +70,15 @@ Control { \qmlproperty enumeration Slider::orientation This property holds the layout orientation of the slider. - The default value is \c Qt.Horizontal + The default value is \c Qt.Horizontal. */ property int orientation: Qt.Horizontal /*! \qmlproperty double Slider::minimumValue - This property holds the minimum value of the Slider - The default value is \c 0.0 + This property holds the minimum value of the Slider. + The default value is \c{0.0}. */ property alias minimumValue: range.minimumValue @@ -86,26 +86,26 @@ Control { \qmlproperty double Slider::maximumValue This property holds the maximum value of the Slider - The default value is \c 1.0 + The default value is \c{1.0}. */ property alias maximumValue: range.maximumValue /*! \qmlproperty bool Slider::updateValueWhileDragging - This property indicates if the current \l value should update while - the user is moving the slider handle or only when the button has been released. - The property can for instance be used if changing the slider value can be - time consuming. + This property indicates whether the current \l value should be updated while + the user is moving the slider handle, or only when the button has been released. + This property could for instance be modified if changing the slider value would turn + out to be too time consuming. - The default value is \c true + The default value is \c true. */ property bool updateValueWhileDragging: true /*! \qmlproperty bool Slider::pressed - This property indicates if slider handle is currently being pressed + This property indicates if slider handle is currently being pressed. */ property alias pressed: mouseArea.pressed @@ -118,7 +118,7 @@ Control { continuous range between \l minimumValue and \l maximumValue. 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]. \qml Slider { @@ -127,15 +127,15 @@ Control { } \endqml - The default value is \c 0 + The default value is \c{0.0}. */ property alias stepSize: range.stepSize /*! \qmlproperty double Slider::value - This property holds the current value of the Slider - The default value is \c 0.0 + This property holds the current value of the Slider. + The default value is \c{0.0}. */ property alias value: range.value @@ -153,7 +153,7 @@ Control { This property indicates if the Slider should display tickmarks at step intervals. - The default value is \c false + The default value is \c false. */ property bool tickmarksEnabled: false @@ -248,7 +248,7 @@ Control { value: __horizontal ? fakeHandle.x : fakeHandle.y } - // During the drag, we simply ignore position set from the range, this + // During the drag, we simply ignore the position set from the range, this // means that setting a value while dragging will not "interrupt" the // dragging activity. Binding { |
