| 1 |
/* |
| 2 |
SPDX-FileCopyrightText: %{CURRENT_YEAR} %{AUTHOR} <%{EMAIL}> |
| 3 |
SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
import QtQuick |
| 7 |
import QtQuick.Layouts |
| 8 |
import org.kde.plasma.components as PlasmaComponents |
| 9 |
import org.kde.kirigami as Kirigami |
| 10 |
import org.kde.plasma.plasmoid |
| 11 |
import org.kde.plasma.private.%{APPNAMELC} 1.0 |
| 12 |
|
| 13 |
WallpaperItem { |
| 14 |
id: root |
| 15 |
|
| 16 |
Rectangle { |
| 17 |
anchors.fill: parent |
| 18 |
color: Kirigami.Theme.backgroundColor |
| 19 |
} |
| 20 |
|
| 21 |
ColumnLayout { |
| 22 |
anchors.centerIn: parent |
| 23 |
|
| 24 |
Kirigami.Heading { |
| 25 |
Layout.alignment: Qt.AlignCenter |
| 26 |
level: 1 |
| 27 |
text: wallpaper.configuration.DisplayText || |
| 28 |
i18n("<Please configure a text to display>") |
| 29 |
} |
| 30 |
|
| 31 |
PlasmaComponents.Label { |
| 32 |
Layout.alignment: Qt.AlignCenter |
| 33 |
text: HelloWorld.text |
| 34 |
} |
| 35 |
} |
| 36 |
} |