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. --- .../src-desktop/src-qml/Screen.qml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml new file mode 100644 index 00000000..3b83653a --- /dev/null +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Screen.qml @@ -0,0 +1,26 @@ +//=========================================== +// Lumina-desktop source code +// Copyright (c) 2017, Ken Moore +// Available under the 3-clause BSD license +// See the LICENSE file for full details +//=========================================== +import QtQuick 2.2 +import QtQuick.Window 2.2 +import QtQuick.Controls 1 + +import Lumina.Backend.ScreenObject 2.0 + +AnimatedImage { + //C++ backend object + property string screen_id + property ScreenObject object + + //Normal geometries/placements + asynchronous: true + clip: true + source: object.background + x: object.x + y: object.y + width: object.width + height: object.height + } -- cgit