diff options
Diffstat (limited to 'tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui')
| -rw-r--r-- | tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml | 28 | 
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml new file mode 100644 index 00000000..afa4758a --- /dev/null +++ b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml @@ -0,0 +1,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!" +        } +    } +}  | 
