aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2023-02-15 16:04:33 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-24 05:20:20 +0000
commit0fac2f951f0ab57f91a7d793a84252ff809747c1 (patch)
tree09b5192dcb5631ea106c46430419a6c4fb75e684 /src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml
parentf0b43126bb2c466bea1192462807ae66697cb80f (diff)
Update style screenshots
- Added iOS screenshots. - Replaced single Fusion screenshot with light and dark screenshots. - Updated Material screenshots. - Added snippet to generate Material attributes screenshot. - Removed "thumbnail" screenshots in favor of individual images joined side-by-side in a \table. They are the same dimensions anyway, and this results in less images to maintain. - Moved duplicated qdoc style table code into a parameterized include file. Fixes: QTBUG-111175 Change-Id: Ic828468b050db71d6821a797a6480bd0d449e611 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> (cherry picked from commit d648235777fb4d84afc611c6fa47c15b01f0917a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml')
-rw-r--r--src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml b/src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml
index ad824f1e34..cebd3a4db5 100644
--- a/src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml
+++ b/src/quickcontrols/doc/snippets/qtquickcontrols-material-variant.qml
@@ -1,6 +1,16 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+/*
+ This file is used by tst_snippets to generate qtquickcontrols-material-variant-normal.png:
+
+ SCREENSHOTS=1 ./tst_snippets verify:qtquickcontrols-material-variant
+
+ and qtquickcontrols-material-variant-dense.png:
+
+ SCREENSHOTS=1 QT_QUICK_CONTROLS_MATERIAL_VARIANT=Dense ./tst_snippets verify:qtquickcontrols-material-variant
+*/
+
import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Material