aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/TopArea.qml
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-07-10 18:11:51 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-07-10 18:21:05 +0900
commit85392e71f90a0322fdc08359ef1d829cdcf67381 (patch)
treedfe40b0d945a671af3a9dd60b691cef6a664ad46 /homescreen/qml/TopArea.qml
parent69be38c5d975c96eee7adab238ffd608b99d8514 (diff)
Copy source code from homescreen-2017flounder_5.99.2flounder/5.99.25.99.2
We decide to use homescreen instead of homescreen-2017. Copy the source code from homescreen-2017 and delete word "-2017". Revision: b4db06287bc997ded71deab50ff0ff5889b09e1f Bug-AGL: SPEC-1549 Change-Id: Id77226b7ce35bbc29c868281c37b76ea3f930ad5 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/qml/TopArea.qml')
-rw-r--r--homescreen/qml/TopArea.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml
index 922742d..9cff3ed 100644
--- a/homescreen/qml/TopArea.qml
+++ b/homescreen/qml/TopArea.qml
@@ -17,6 +17,7 @@
import QtQuick 2.2
import QtQuick.Layouts 1.1
+import QtQuick.Controls 2.0
Image {
width: 1920
@@ -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
+ }
}