diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-16 16:20:09 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-19 09:31:52 +0000 |
commit | 1ca3309fca92390fb8bf24cbefe62d0611a802cd (patch) | |
tree | cd20305ec29a7f2b4bcd7b6b8866113709416938 /src/templates/qquickscrollbar.cpp | |
parent | 1c3ab8042c6d6dcec283e1142ad4bb0e4fb6eddb (diff) |
Docs: include ScrollBar in indicators & add a screenshot
Change-Id: I1ff8df098a358d39020a63aa8f1d920f620f838e
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickscrollbar.cpp')
-rw-r--r-- | src/templates/qquickscrollbar.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/templates/qquickscrollbar.cpp b/src/templates/qquickscrollbar.cpp index 224e1bb4..09166a80 100644 --- a/src/templates/qquickscrollbar.cpp +++ b/src/templates/qquickscrollbar.cpp @@ -47,19 +47,18 @@ QT_BEGIN_NAMESPACE \inherits Control \instantiates QQuickScrollBar \inqmlmodule Qt.labs.controls - \ingroup sliders + \ingroup qtlabscontrols-indicators \brief An interactive scroll bar control. 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. - ### TODO: screenshot + \image qtlabscontrols-scrollbar.png \code - ListView { - model: 200 - delegate: Text { text: index } + Flickable { + // ... ScrollBar.vertical: ScrollBar { } } \endcode @@ -74,7 +73,7 @@ QT_BEGIN_NAMESPACE \li \l active \endlist - \sa ScrollIndicator, {Customizing ScrollBar} + \sa ScrollIndicator, {Customizing ScrollBar}, Indicators */ class QQuickScrollBarPrivate : public QQuickControlPrivate |