aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/bottompanel_demo.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-01-06 15:58:18 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-01-07 00:12:10 +0200
commitf386507d3c6996e39fcd459d032b9e0cf6f0f563 (patch)
tree26d6c1a15bff8a3d946cdb0234375eeae0473fb4 /homescreen/qml/bottompanel_demo.qml
parenta37400d73417dc02511813833b8f4d9b91e40a11 (diff)
main: Add different QMLs for doing screenshotskoi_10.93.0koi_10.92.0koi/10.93.0koi/10.92.010.93.010.92.0
A better of way trying to verify that we have the homescreen up-and-running would be to load-up a reference image which doesn't change depending on time or other things loaded up (weather for instance). Alternatively, a possible solution would be to have a totally different application that basically does the same thing as homescreen. Instead of doing that, use an environment variable to choose up what QMLs to load instead of the original application. Modifying the env variable then re-starting the application is sufficient to have the screenshot for CI. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie1478bb75f23c36e3c24c9e8d3e2d7c4848dd779
Diffstat (limited to 'homescreen/qml/bottompanel_demo.qml')
-rw-r--r--homescreen/qml/bottompanel_demo.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/homescreen/qml/bottompanel_demo.qml b/homescreen/qml/bottompanel_demo.qml
new file mode 100644
index 0000000..27c00df
--- /dev/null
+++ b/homescreen/qml/bottompanel_demo.qml
@@ -0,0 +1,12 @@
+import QtQuick 2.2
+import QtQuick.Window 2.11
+import QtQuick.Layouts 1.1
+
+Window {
+ visible: true
+ flags: Qt.FramelessWindowHint
+ width: Screen.width
+ height: 216
+ title: 'HomeScreen bottom'
+ color: 'green'
+}