summaryrefslogtreecommitdiffstats
path: root/shell/qml/bg.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-09-21 15:20:59 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-09-23 16:31:52 +0300
commit3a3047e6f2cd4dab84a0a3f047e223ef1bf84b61 (patch)
tree0c8ac17733fb102712d1116891acc81df9d926d0 /shell/qml/bg.qml
parent2faeef2e633d51c3e818b7a493e14e072e38cf34 (diff)
Init homescreen-demo-ci app
Bug-AGL: SPEC-3592 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id58ed059cdd44c2931a7b5d67970cbafd9e25002
Diffstat (limited to 'shell/qml/bg.qml')
-rw-r--r--shell/qml/bg.qml27
1 files changed, 27 insertions, 0 deletions
diff --git a/shell/qml/bg.qml b/shell/qml/bg.qml
new file mode 100644
index 0000000..9c8aedb
--- /dev/null
+++ b/shell/qml/bg.qml
@@ -0,0 +1,27 @@
+import QtQuick 2.2
+import QtQuick.Window 2.11
+import QtQuick.Layouts 1.1
+
+Window {
+ visible: true
+ flags: Qt.FramelessWindowHint
+
+ //width: Screen.width
+ width: 300
+ //height: Screen.height
+ height: 400
+
+ title: 'HomeScreen bg'
+
+ color: 'red'
+
+ property string appid: 'naq-activate'
+
+ MouseArea {
+ anchors.fill: parent
+ onClicked: {
+ console.log('activating ' + appid)
+ shell.activate_app(Window.window, appid)
+ }
+ }
+}