From 334044f98e4d0e96214c40d43ffa239a82ca5248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 28 Mar 2023 15:19:56 +0800 Subject: bs-box-shadow implementation & its use in Card --- DropShadow/Box.ui.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 DropShadow/Box.ui.qml (limited to 'DropShadow') diff --git a/DropShadow/Box.ui.qml b/DropShadow/Box.ui.qml new file mode 100644 index 0000000..774b0d3 --- /dev/null +++ b/DropShadow/Box.ui.qml @@ -0,0 +1,11 @@ +import QtQuick 2.15 +import QtGraphicalEffects 1.15 +import Eduport 1.4 + +DropShadow { + horizontalOffset: Eduport.bsBoxShadowOffsetX + verticalOffset: Eduport.bsBoxShadowOffsetY + radius: Eduport.bsBoxShadowBlurRadius / 5 + samples: radius * 2 + 1 + color: Eduport.bsBoxShadowColor +} -- cgit v1.2.3