Warning, /plasma/qqc2-breeze-style/style/impl/MediumShadow.qml is written in an unsupported language. File is not indexed.
0001 /* SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com> 0002 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0003 */ 0004 0005 import QtQuick 0006 import org.kde.kirigami as Kirigami 0007 0008 import "." as Impl 0009 0010 Loader { 0011 id: root 0012 property real radius: Impl.Units.smallRadius 0013 anchors.fill: parent 0014 z: -1 0015 active: visible 0016 sourceComponent: Component { 0017 Kirigami.ShadowedRectangle { 0018 anchors.fill: parent 0019 radius: root.radius 0020 color: "transparent" 0021 shadow { 0022 color: Qt.rgba(0,0,0,0.2) 0023 size: 9 0024 yOffset: 2 0025 } 0026 opacity: parent.opacity 0027 Behavior on opacity { 0028 OpacityAnimator { 0029 duration: Kirigami.Units.shortDuration 0030 easing.type: Easing.OutCubic 0031 } 0032 } 0033 } 0034 } 0035 }