Debian Codegraph @

tests/KDEPackageAppTemplatesForcedTest/qml-plasmoid/package/contents/ui/main.qml

raw
1 /***************************************************************************
2 * Copyright (C) %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}> *
3 * *
4 * Distributed under the OSI-approved BSD License (the "License");
5 * see accompanying file COPYING-CMAKE-SCRIPTS for details.
6 *
7 * This software is distributed WITHOUT ANY WARRANTY; without even the
8 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 * See the License for more information.
10 ***************************************************************************/
11
12 import QtQuick 2.1
13 import QtQuick.Layouts 1.1
14 import org.kde.kirigami 2.20 as Kirigami
15 import org.kde.plasma.plasmoid 2.0
16 import org.kde.plasma.components 2.0 as PlasmaComponents
17
18 Item {
19 Plasmoid.fullRepresentation: ColumnLayout {
20 anchors.fill: parent
21 Kirigami.Icon {
22 source: "kde"
23 }
24 PlasmaComponents.Label {
25 text: "This is Plasma!"
26 }
27 }
28 }