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

0001 /*
0002     SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 
0008 import QtQuick
0009 import QtQuick.Layouts
0010 
0011 import org.kde.ksvg as KSvg
0012 
0013 Item
0014 {
0015     width: 500
0016     height: 500
0017 
0018 
0019 
0020     Grid {
0021         anchors.fill: parent
0022         columns: 3
0023 
0024         Repeater {
0025             model: ["widgets/background",
0026                         "widgets/panel-background",
0027                         "opaque/widgets/panel-background",
0028                         "widgets/tooltip",
0029                         "opaque/widgets/tooltip"
0030                         ]
0031 
0032             delegate: KSvg.FrameSvgItem {
0033                 width: 100
0034                 height: 100
0035                 imagePath: modelData
0036             }
0037         }
0038     }
0039 }
0040