From 393cb6f0bacecfe2997c11307a102a9f0f17c173 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 4 Apr 2018 08:13:57 +0200 Subject: Link to RangeSlider from Slider's docs, and vice versa Task-number: QTBUG-67316 Change-Id: Ia10778f5e3da8f7c3480504792da228b90bb4854 Reviewed-by: J-P Nurmi --- src/quicktemplates2/qquickrangeslider.cpp | 2 ++ src/quicktemplates2/qquickslider.cpp | 3 +++ 2 files changed, 5 insertions(+) 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} */ -- cgit v1.2.3