From 9fe1845f0e2d75dc8a6d3d49fac6780b394b0067 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 8 Jan 2018 14:19:58 -0500 Subject: Another large update to Lumina 2: Starting to hook up the new QML window frame with the C++ backend. --- .../src-desktop/src-qml/RootDesktop.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (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 c564ee42..9122ce5b 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 @@ -23,6 +23,7 @@ import "." as QML import Lumina.Backend.RootDesktopObject 2.0 import Lumina.Backend.ScreenObject 2.0 +import Lumina.Backend.NativeWindowObject 2.0 Rectangle { id: rootCanvas @@ -55,4 +56,14 @@ Rectangle { z: 0+index } } + + //Setup the windows + Repeater{ + model: RootObject.windows + QML.NativeWindow{ + window_id: modelData + object: RootObject.window(modelData) + z: 100+index + } + } } -- cgit