Differential D27350 Diff 75556 templates/plasma-wallpaper-with-qml-extension/package/contents/ui/main.qml
Changeset View
Changeset View
Standalone View
Standalone View
templates/plasma-wallpaper-with-qml-extension/package/contents/ui/main.qml
Show All 32 Lines | 30 | Item { | |||
---|---|---|---|---|---|
33 | Rectangle { | 33 | Rectangle { | ||
34 | anchors.fill: parent | 34 | anchors.fill: parent | ||
35 | color: Theme.backgroundColor | 35 | color: Theme.backgroundColor | ||
36 | } | 36 | } | ||
37 | 37 | | |||
38 | ColumnLayout { | 38 | ColumnLayout { | ||
39 | anchors.centerIn: parent | 39 | anchors.centerIn: parent | ||
40 | 40 | | |||
41 | PlasmaExtras.Title { | 41 | PlasmaExtras.Heading { | ||
42 | Layout.alignment: Qt.AlignCenter | 42 | Layout.alignment: Qt.AlignCenter | ||
43 | level: 1 | ||||
43 | text: wallpaper.configuration.DisplayText || | 44 | text: wallpaper.configuration.DisplayText || | ||
44 | i18n("<Please configure a text to display>") | 45 | i18n("<Please configure a text to display>") | ||
45 | } | 46 | } | ||
46 | 47 | | |||
47 | PlasmaComponents.Label { | 48 | PlasmaComponents.Label { | ||
48 | Layout.alignment: Qt.AlignCenter | 49 | Layout.alignment: Qt.AlignCenter | ||
49 | text: HelloWorld.text | 50 | text: HelloWorld.text | ||
50 | } | 51 | } | ||
51 | } | 52 | } | ||
52 | } | 53 | } |