summaryrefslogtreecommitdiffstats
path: root/basicsuite/Graphical Effects/effect_DropShadow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/Graphical Effects/effect_DropShadow.qml')
-rw-r--r--basicsuite/Graphical Effects/effect_DropShadow.qml43
1 files changed, 0 insertions, 43 deletions
diff --git a/basicsuite/Graphical Effects/effect_DropShadow.qml b/basicsuite/Graphical Effects/effect_DropShadow.qml
deleted file mode 100644
index 125fe64..0000000
--- a/basicsuite/Graphical Effects/effect_DropShadow.qml
+++ /dev/null
@@ -1,43 +0,0 @@
-import QtQuick 2.0
-import QtGraphicalEffects 1.0
-
-Item {
-
- id: root
-
- property real inputX: 0.5;
- property real inputY: 0.2;
-
- property real feedbackX: effect.radius
- property real feedbackY: effect.spread
-
- property string nameX: "Radius"
- property string nameY: "Spread"
-
- Image {
- id: image
- source: "images/butterfly.png"
- anchors.centerIn: parent
- visible: false
- }
-
- DropShadow {
- id: effect;
-
- source: image
- anchors.fill: source
-
- scale: source.height > root.height * 0.8 ? root.height / source.height * 0.8 : 1;
-
- samples: 4
-
- radius: root.inputX * 7
- spread: root.inputY;
-
- color: Qt.rgba(0, 0, 0, 0.4);
-
- verticalOffset: 30.5
- horizontalOffset: 30.5
- }
-
-}