From 7207ddde754868ef5071e3d5ebb91a0b9bfbc5ca Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 20 Dec 2017 00:06:17 -0500 Subject: Make sure the QML filenames correspond to the C++ objects (PanelObject.h -> Panel.qml) Add a new "Panel.qml" widget for reserved screen areas. --- .../core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml index e0381e23..beecb848 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml @@ -49,8 +49,9 @@ Rectangle { //Setup the wallpapers Repeater{ model: RootObject.screens - QML.WallpaperImage{ + QML.Screen{ screen_id: modelData + object: RootObject.screen(modelData) z: 0+index } } -- cgit From 70a95acc3d3cae25fd99a027d932960cce819299 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 20 Dec 2017 00:28:17 -0500 Subject: Setup the RootDesktopObject to start providing NativeWindow objects to the QML interface. --- src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml index beecb848..c564ee42 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/RootDesktop.qml @@ -46,7 +46,7 @@ Rectangle { //Create the context menu itself QML.ContextMenu { id: contextMenu } - //Setup the wallpapers + //Setup the screens/wallpapers Repeater{ model: RootObject.screens QML.Screen{ -- cgit