aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2022-01-11 12:43:28 +0100
committerMitch Curtis <mitch.curtis@qt.io>2022-02-01 15:21:27 +0100
commit9052e09a21fd77c44127f9c75dc8aff8ae60184d (patch)
tree76b7479b8139fe1e1e64415070e6e3eca18efe42
parentb6413335b0a977e5c7218c4d74fb090fa11bf52e (diff)
Doc: mention ScrollView in ScrollBar's documentation
Fixes: QTBUG-99124 Pick-to: 6.2 6.3 Change-Id: I6152da783668eea121cb294a884f4ed3577cfbef Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
-rw-r--r--src/quicktemplates2/qquickscrollbar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickscrollbar.cpp b/src/quicktemplates2/qquickscrollbar.cpp
index 26053b3fcb..257722a4d3 100644
--- a/src/quicktemplates2/qquickscrollbar.cpp
+++ b/src/quicktemplates2/qquickscrollbar.cpp
@@ -63,6 +63,7 @@ QT_BEGIN_NAMESPACE
ScrollBar is an interactive bar that can be used to scroll to a specific
position. A scroll bar can be either \l vertical or \l horizontal, and can
be attached to any \l Flickable, such as \l ListView and \l GridView.
+ It can also be used with \l ScrollView.
\code
Flickable {
@@ -154,7 +155,7 @@ QT_BEGIN_NAMESPACE
visible.
\endlist
- \sa ScrollIndicator, {Customizing ScrollBar}, {Indicator Controls}
+ \sa ScrollIndicator, ScrollView, {Customizing ScrollBar}, {Indicator Controls}
*/
static const QQuickItemPrivate::ChangeTypes changeTypes = QQuickItemPrivate::Geometry | QQuickItemPrivate::Destroyed;