diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2022-11-23 16:50:43 +0800 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2022-12-01 10:26:28 +0800 |
commit | 8b100bed5237b1ec864f059d7fb04b94fd874f49 (patch) | |
tree | 3e0503297e0dcdee3ea6245f480b9ce65766a056 /src/quicktemplates/qquickscrollbar.cpp | |
parent | 4bd87b903b355b53e3105ba1ae7c154c4e55cdaf (diff) |
Doc: remove "2" from Qt Quick Controls files
Work on this was already started for the documentation in
1abdfe5d5a052f2298b7bf657513dfa7e0c66a56.
The CMake target (docs_QuickControls2) probably can't be renamed
until we rename the library, which won't happen until Qt 7.
Task-number: QTBUG-95413
Change-Id: Ied20805a91286436606577c3de39671a447f27dd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/quicktemplates/qquickscrollbar.cpp')
-rw-r--r-- | src/quicktemplates/qquickscrollbar.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/quicktemplates/qquickscrollbar.cpp b/src/quicktemplates/qquickscrollbar.cpp index 5715d7fbd0..67fc8116a6 100644 --- a/src/quicktemplates/qquickscrollbar.cpp +++ b/src/quicktemplates/qquickscrollbar.cpp @@ -19,10 +19,10 @@ QT_BEGIN_NAMESPACE //! \instantiates QQuickScrollBar \inqmlmodule QtQuick.Controls \since 5.7 - \ingroup qtquickcontrols2-indicators + \ingroup qtquickcontrols-indicators \brief Vertical or horizontal interactive scroll bar. - \image qtquickcontrols2-scrollbar.gif + \image qtquickcontrols-scrollbar.gif 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 @@ -94,7 +94,7 @@ QT_BEGIN_NAMESPACE to either direction, establish a two-way binding between the active states as presented by the following example: - \snippet qtquickcontrols2-scrollbar-active.qml 1 + \snippet qtquickcontrols-scrollbar-active.qml 1 \section1 Non-attached Scroll Bars @@ -104,9 +104,9 @@ QT_BEGIN_NAMESPACE following example, horizontal and vertical scroll bars are used to scroll over the text without using \l Flickable: - \snippet qtquickcontrols2-scrollbar-non-attached.qml 1 + \snippet qtquickcontrols-scrollbar-non-attached.qml 1 - \image qtquickcontrols2-scrollbar-non-attached.png + \image qtquickcontrols-scrollbar-non-attached.png When using a non-attached ScrollBar, the following must be done manually: @@ -590,9 +590,9 @@ void QQuickScrollBar::setOrientation(Qt::Orientation orientation) \table \header \row \li \b Value \li \b Example - \row \li \c ScrollBar.NoSnap \li \image qtquickcontrols2-scrollbar-nosnap.gif - \row \li \c ScrollBar.SnapAlways \li \image qtquickcontrols2-scrollbar-snapalways.gif - \row \li \c ScrollBar.SnapOnRelease \li \image qtquickcontrols2-scrollbar-snaponrelease.gif + \row \li \c ScrollBar.NoSnap \li \image qtquickcontrols-scrollbar-nosnap.gif + \row \li \c ScrollBar.SnapAlways \li \image qtquickcontrols-scrollbar-snapalways.gif + \row \li \c ScrollBar.SnapOnRelease \li \image qtquickcontrols-scrollbar-snaponrelease.gif \endtable \sa stepSize @@ -656,7 +656,7 @@ void QQuickScrollBar::resetInteractive() The following example keeps the vertical scroll bar always visible: - \snippet qtquickcontrols2-scrollbar-policy.qml 1 + \snippet qtquickcontrols-scrollbar-policy.qml 1 */ QQuickScrollBar::Policy QQuickScrollBar::policy() const { |