summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2023-01-31 15:25:57 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-02 04:08:22 +0000
commitd5391105417913910bcfbffb7bfab339296e0f58 (patch)
tree9452d13e5aefbfd8f864c5f11f4b38e3d8f00a63
parent9fcb51c505999b3733be369954a3131e4114c3cc (diff)
downloadqtdoc-d5391105417913910bcfbffb7bfab339296e0f58.tar.gz
Doc: add Material style changes to "What's New in Qt 6.5"
Task-number: QTBUG-97993 Change-Id: Iff23165e90027db612b985198b72a19432dfbf48 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> (cherry picked from commit 2d925e85d4a576016c6f9daca33644c77c066787) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/src/external-resources.qdoc4
-rw-r--r--doc/src/whatsnew/whatsnew65.qdoc30
2 files changed, 34 insertions, 0 deletions
diff --git a/doc/src/external-resources.qdoc b/doc/src/external-resources.qdoc
index 7e30b634..fd534508 100644
--- a/doc/src/external-resources.qdoc
+++ b/doc/src/external-resources.qdoc
@@ -752,3 +752,7 @@
\title Pixel 4
*/
+/*!
+ \externalpage https://m3.material.io
+ \title Material 3
+*/
diff --git a/doc/src/whatsnew/whatsnew65.qdoc b/doc/src/whatsnew/whatsnew65.qdoc
index 9b2bc2fb..5d6994b5 100644
--- a/doc/src/whatsnew/whatsnew65.qdoc
+++ b/doc/src/whatsnew/whatsnew65.qdoc
@@ -104,6 +104,36 @@
\list
\li TreeViewDelegate got support editing tree nodes
+ \li The Material style was updated to \l {Material 3}.
+ \list
+ \li Several controls received visual updates, so it is recommended
+ to check how your application looks and adapt it accordingly:
+ \list
+ \li \l ApplicationWindow
+ \li \l Button
+ \li \l CheckBox
+ \li \l DelayButton
+ \li \l Dialog
+ \li \l RangeSlider
+ \li \l RoundButton
+ \li \l Slider
+ \li \l Switch
+ \li \l TextArea
+ \li \l TextField
+ \endlist
+
+ \li Some new API was added:
+ \list
+ \li \l {material-containerStyle-attached-prop}{Material.containerStyle}
+ controls the style of the container used by the target control.
+ It can be attached to any window or item, but only \l TextField and
+ \l TextArea support it by default.
+ \li \l {material-roundedScale-attached-prop}{Material.roundedScale}
+ controls the radius of rounded corners used on the target control.
+ It can be attached to any window or item, but only
+ \l Button, \l Dialog, and \l DialogButtonBox support it by default.
+ \endlist
+ \endlist
\endlist
\section2 Qt Widgets Module