diff options
| author | Mitch Curtis <mitch.curtis@qt.io> | 2024-05-13 15:53:46 +0800 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-05-21 04:05:45 +0000 |
| commit | f0ec4fa2b49948561607dcdf52207ab7a3b2b8d5 (patch) | |
| tree | 71cb84883b6f685dfdc74720146458d231394485 /src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml | |
| parent | 1e564330bdc933c427befd9f3fb9b00e1960f041 (diff) | |
Doc: import Basic style in customization snippets
This ensures that the user won't inadvertently base the customizations
on top of the native styles, but also saves adding the extra code that
using QtQuick.Templates would require. The first sentence of the
section already states that the Basic style is in use.
Fixes: QTBUG-125228
Change-Id: I191f1664ab0dcf190e4825b98e7ec12f00de307f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit e4577eb6bb9308d2b84bfe66216333b001ac670b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 82a2eedcd4c78da0e918fca38158df381ad4763a)
Diffstat (limited to 'src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml')
| -rw-r--r-- | src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml b/src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml index a4f4b84d18..de8441b4cf 100644 --- a/src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml +++ b/src/quickcontrols/doc/snippets/qtquickcontrols-checkdelegate-custom.qml @@ -3,7 +3,7 @@ //! [file] import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Basic CheckDelegate { id: control |
