aboutsummaryrefslogtreecommitdiff
path: root/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml
blob: afa4758a8518901353aa8c4b91873cd7567ee39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/***************************************************************************
 *   Copyright (C) %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}>                            *
 *                                                                         *
 * Distributed under the OSI-approved BSD License (the "License");
 * see accompanying file COPYING-CMAKE-SCRIPTS for details.
 *
 * This software is distributed WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the License for more information.
 ***************************************************************************/

import QtQuick 2.1
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents

Item {
    Plasmoid.fullRepresentation: ColumnLayout {
        anchors.fill: parent
        PlasmaCore.IconItem {
            source: "kde"
        }
        PlasmaComponents.Label {
            text: "This is Plasma!"
        }
    }
}