Warning, /graphics/krita/libs/libqml/plugins/components/DropShadow.qml is written in an unsupported language. File is not indexed.
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2012 Arjen Hiemstra <ahiemstra@heimr.nl> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 2.3 0008 import org.krita.sketch 1.0 0009 0010 Item { 0011 id: base; 0012 property real size: Constants.DefaultMargin * 0.666; 0013 0014 Image { 0015 anchors.right: parent.left; 0016 anchors.bottom: parent.top; 0017 0018 width: parent.size; 0019 height: parent.size; 0020 0021 opacity: 0.5; 0022 0023 source: "../images/shadow-tl.png"; 0024 0025 fillMode: Image.Stretch; 0026 } 0027 0028 Image { 0029 anchors.horizontalCenter: parent.horizontalCenter; 0030 anchors.bottom: parent.top; 0031 0032 width: parent.width; 0033 height: parent.size; 0034 0035 opacity: 0.5; 0036 0037 source: "../images/shadow-tc.png"; 0038 fillMode: Image.Stretch; 0039 } 0040 0041 Image { 0042 anchors.left: parent.right; 0043 anchors.bottom: parent.top; 0044 0045 width: parent.size; 0046 height: parent.size; 0047 0048 opacity: 0.5; 0049 0050 source: "../images/shadow-tr.png"; 0051 fillMode: Image.Stretch; 0052 } 0053 0054 Image { 0055 anchors.left: parent.right; 0056 anchors.verticalCenter: parent.verticalCenter; 0057 0058 width: parent.size; 0059 height: parent.height; 0060 0061 opacity: 0.5; 0062 0063 source: "../images/shadow-rc.png"; 0064 fillMode: Image.Stretch; 0065 } 0066 0067 Image { 0068 anchors.left: parent.right; 0069 anchors.top: parent.bottom; 0070 0071 width: parent.size; 0072 height: parent.size; 0073 0074 opacity: 0.5; 0075 0076 source: "../images/shadow-br.png"; 0077 fillMode: Image.Stretch; 0078 } 0079 0080 Image { 0081 anchors.horizontalCenter: parent.horizontalCenter; 0082 anchors.top: parent.bottom; 0083 0084 width: parent.width; 0085 height: parent.size; 0086 0087 opacity: 0.5; 0088 0089 source: "../images/shadow-bc.png"; 0090 fillMode: Image.Stretch; 0091 } 0092 0093 Image { 0094 anchors.right: parent.left; 0095 anchors.top: parent.bottom; 0096 0097 width: parent.size; 0098 height: parent.size; 0099 0100 opacity: 0.5; 0101 0102 source: "../images/shadow-bl.png"; 0103 fillMode: Image.Stretch; 0104 } 0105 0106 Image { 0107 anchors.right: parent.left; 0108 anchors.verticalCenter: parent.verticalCenter; 0109 0110 width: parent.size; 0111 height: parent.height; 0112 0113 opacity: 0.5; 0114 0115 source: "../images/shadow-lc.png"; 0116 fillMode: Image.Stretch; 0117 } 0118 }