From baeafde4f79e0ce52941bd0e235f061c7067bed5 Mon Sep 17 00:00:00 2001 From: Andreas Eliasson Date: Tue, 1 Aug 2023 10:38:57 +0200 Subject: [PATCH] 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 --- src/imports/graphicaleffects5/DropShadow.qml | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) 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