aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-04-04 08:13:57 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-04-04 07:36:33 +0000
commit393cb6f0bacecfe2997c11307a102a9f0f17c173 (patch)
tree9ea9d93c0d1fd519a452b8702b50d87aa7554442
parent56e174c5a926b0d92ad55a05d8e2f40d6f6adf95 (diff)
Link to RangeSlider from Slider's docs, and vice versav5.11.0-beta3
Task-number: QTBUG-67316 Change-Id: Ia10778f5e3da8f7c3480504792da228b90bb4854 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/quicktemplates2/qquickrangeslider.cpp2
-rw-r--r--src/quicktemplates2/qquickslider.cpp3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickrangeslider.cpp b/src/quicktemplates2/qquickrangeslider.cpp
index 36d8ca02..9bd39d62 100644
--- a/src/quicktemplates2/qquickrangeslider.cpp
+++ b/src/quicktemplates2/qquickrangeslider.cpp
@@ -86,6 +86,8 @@ QT_BEGIN_NAMESPACE
RangeSlider. In the example above, \l {first.visualPosition} will be \c 0.24
in a left-to-right application, and \c 0.76 in a right-to-left application.
+ For a slider that allows the user to select a single value, see \l Slider.
+
\sa {Customizing RangeSlider}, {Input Controls},
{Focus Management in Qt Quick Controls 2}
*/
diff --git a/src/quicktemplates2/qquickslider.cpp b/src/quicktemplates2/qquickslider.cpp
index 5ad3c036..2143e536 100644
--- a/src/quicktemplates2/qquickslider.cpp
+++ b/src/quicktemplates2/qquickslider.cpp
@@ -73,6 +73,9 @@ QT_BEGIN_NAMESPACE
In the example above, \l visualPosition will be \c 0.24 in a left-to-right
application, and \c 0.76 in a right-to-left application.
+ For a slider that allows the user to select a range by providing two
+ handles, see \l RangeSlider.
+
\sa {Customizing Slider}, {Input Controls}
*/