Warning, /plasma/libplasma/tests/shadows.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2021 Arjen Hiemstra <ahiemstra@heimr.nl>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 import QtQuick 2.15
0008 import QtQuick.Layouts 1.15
0009 
0010 import org.kde.plasma.core 2.0 as PlasmaCore
0011 
0012 Rectangle {
0013     color: "white"
0014     width: 600
0015     height: 600
0016 
0017     GridLayout {
0018         anchors.fill: parent
0019         columns: 3
0020 
0021         Repeater {
0022             model: [
0023                 "shadow-topleft",
0024                 "shadow-top",
0025                 "shadow-topright",
0026                 "shadow-left",
0027                 "shadow-middle",
0028                 "shadow-right",
0029                 "shadow-bottomleft",
0030                 "shadow-bottom",
0031                 "shadow-bottomright"
0032             ]
0033 
0034             PlasmaCore.SvgItem {
0035                 elementId: modelData
0036 
0037                 svg: PlasmaCore.Svg {
0038                     imagePath: "dialogs/background"
0039                 }
0040             }
0041         }
0042     }
0043 }
0044