X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FTopArea.qml;h=19bed9130df3bbc8f4395d72bcd4d4db3a1a6fbb;hb=refs%2Fchanges%2F19%2F24819%2F2;hp=922742ddea693aa324570029dce893d9e556d743;hpb=0592a405aa68f3baf6773795efa5522e4ee16779;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml index 922742d..19bed91 100644 --- a/homescreen/qml/TopArea.qml +++ b/homescreen/qml/TopArea.qml @@ -17,12 +17,13 @@ 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' - fillMode: Image.PreserveAspectCrop + anchors.fill: parent + source: './images/TopSection_NoText_NoIcons-01.svg' + //fillMode: Image.PreserveAspectCrop + fillMode: Image.Stretch RowLayout { anchors.fill: parent @@ -31,13 +32,28 @@ Image { id: shortcutArea Layout.fillWidth: true Layout.fillHeight: true - Layout.preferredWidth: 785 + Layout.preferredWidth: 775 } StatusArea { id: statusArea Layout.fillWidth: true Layout.fillHeight: true - Layout.preferredWidth: 295 + Layout.preferredWidth: 291 } } + + 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 + } }