plasma-framework/tests/frames.qml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
816 B
QML
Raw Normal View History

/*
SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.0
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
Item
{
width: 500
height: 500
Grid {
anchors.fill: parent
columns: 3
Repeater {
model: ["widgets/background",
"widgets/panel-background",
"opaque/widgets/panel-background",
"widgets/tooltip",
"opaque/widgets/tooltip"
]
delegate: PlasmaCore.FrameSvgItem {
width: 100
height: 100
imagePath: modelData
}
}
}
}