Replace top and bottom area's background image
[apps/homescreen.git] / homescreen / qml / TopArea.qml
index 922742d..2a75cf8 100644 (file)
 
 import QtQuick 2.2
 import QtQuick.Layouts 1.1
+import QtQuick.Controls 2.0
 
 Image {
     width: 1920
     height: 218
-    source: './images/TopSection_NoText_NoIcons-01.png'
+    source: './images/TopSection_NoText_NoIcons-01.svg'
     fillMode: Image.PreserveAspectCrop
 
     RowLayout {
@@ -40,4 +41,19 @@ Image {
             Layout.preferredWidth: 295
         }
     }
+
+    Timer {
+        id: launching
+        interval: 500
+        running: launcher.launching
+    }
+
+    ProgressBar {
+        id: progressBar
+        anchors.verticalCenter: parent.bottom
+        anchors.left: parent.left
+        anchors.right: parent.right
+        indeterminate: visible
+        visible: launcher.launching && !launching.running
+    }
 }