Compilation flag to avoid compil errors on ubuntu
[staging/HomeScreen.git] / HomeScreen / qml / main.qml
index 542f395..4a44f4c 100644 (file)
@@ -18,6 +18,7 @@
 import QtQuick 2.2
 import QtQuick.Window 2.1
 import QtQuick.Layouts 1.1
+import HomeScreen 1.0
 
 Window {
     visible: true
@@ -26,12 +27,16 @@ Window {
     height: container.height * container.scale
     title: 'HomeScreen'
 
+    ApplicationLauncher {
+        id: launcher
+    }
+
     Image {
         id: container
         anchors.centerIn: parent
         width: 1080
         height: 1920
-        scale: 1.0
+        scale: 0.5
         source: './images/AGL_HMI_Background_NoCar-01.png'
 
         ColumnLayout {
@@ -48,6 +53,17 @@ Window {
                 Layout.fillWidth: true
                 Layout.fillHeight: true
                 Layout.preferredHeight: 1920 - 218 - 215
+
+                visible: true
+            }
+
+            Home {
+                id: appLauncherAreaLauncher
+                objectName: "Home"
+                Layout.fillWidth: true
+                Layout.fillHeight: true
+                Layout.preferredHeight: 1920 - 218 - 215
+                visible: false
             }
 
             MediaArea {