summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2023-08-01 10:38:57 +0200
committerAndreas Eliasson <andreas.eliasson@qt.io>2023-08-03 05:02:51 +0000
commitbaeafde4f79e0ce52941bd0e235f061c7067bed5 (patch)
tree3663413b293ebf0aad7df6ae46ee52618ef47885 /src/imports
parent8b22d82f9adaf011cbf63820929eea7468218cc5 (diff)
Doc: Add table that showcase vertical offset
In the current docs, the table for the horizontal and vertical offset properties only shows images where the horizontal offset property is changed. Add a table that also shows changes to the vertical offset property. Fixes: QTBUG-115467 Pick-to: 6.6 6.5 6.4 6.2 Change-Id: Ieb0c0871345ff49afb3caa85318d8f2df6544916 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/graphicaleffects5/DropShadow.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/imports/graphicaleffects5/DropShadow.qml b/src/imports/graphicaleffects5/DropShadow.qml
index d0d468d..cdf3fd4 100644
--- a/src/imports/graphicaleffects5/DropShadow.qml
+++ b/src/imports/graphicaleffects5/DropShadow.qml
@@ -232,6 +232,34 @@ Item {
\li \l spread: 0
\li \l spread: 0
\endtable
+
+ \table
+ \header
+ \li Output examples with different verticalOffset values
+ \li
+ \li
+ \row
+ \li \image DropShadow_horizontalOffset2.png
+ \li \image DropShadow_spread1.png
+ \row
+ \li \b { horizontalOffset: 0 }
+ \li \b { horizontalOffset: 0 }
+ \row
+ \li \l radius: 4
+ \li \l radius: 8
+ \row
+ \li \l samples: 9
+ \li \l samples: 17
+ \row
+ \li \l color: #000000
+ \li \l color: #000000
+ \row
+ \li \l verticalOffset: 0
+ \li \l verticalOffset: 20
+ \row
+ \li \l spread: 0
+ \li \l spread: 0
+ \endtable
*/
property alias horizontalOffset: dbs.horizontalOffset
property alias verticalOffset: dbs.verticalOffset