aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-09-02 17:26:57 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-09-05 11:36:16 +0000
commitef45aff14c61983b3659094e0cf5d9db706d9cbd (patch)
tree415f51294c01a7c1e86e7458fef1f6701f4b6dae /src/imports/controls/doc/src
parenta0d77ff082b6a5aa02a36f5a82649c45c0dcd265 (diff)
Doc: mention Material.elevation in the docs
Change-Id: I514a784df656d2690c8c2cb285cec8d48102b3be Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/doc/src')
-rw-r--r--src/imports/controls/doc/src/qtquickcontrols2-material.qdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc
index 9416a505..a5ac25d2 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc
@@ -39,6 +39,7 @@
\list
\li \l {material-accent-attached-prop}{\b accent} : color
\li \l {material-background-attached-prop}{\b background} : color
+ \li \l {material-elevation-attached-prop}{\b elevation} : int
\li \l {material-foreground-attached-prop}{\b foreground} : color
\li \l {material-primary-attached-prop}{\b primary} : color
\li \l {material-theme-attached-prop}{\b theme} : enumeration
@@ -280,6 +281,16 @@
\endstyleproperty
+ \styleproperty {Material.elevation} {int} {material-elevation-attached-prop}
+ \target material-elevation-attached-prop
+ This attached property holds the elevation of the control. The higher the
+ elevation, the deeper the shadow. The property can be attached to any control,
+ but not all controls visualize elevation.
+
+ The default value is control-specific.
+
+ \endstyleproperty
+
\styleproperty {Material.foreground} {color} {material-foreground-attached-prop}
\target material-foreground-attached-prop
This attached property holds the foreground color of the theme. The property