X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fqml%2Fmain.qml;h=11bd9d54b52f784ea01f790eefc23bc06e0b3a3b;hb=09f2f0036f122e49aa49e6c446d723850192a725;hp=542f395c57f52f427bf2358693cf7da37bbd442b;hpb=79714c0aa8fc461d77b75d6c5dae6a1a7d726954;p=staging%2FHomeScreen.git diff --git a/HomeScreen/qml/main.qml b/HomeScreen/qml/main.qml index 542f395..11bd9d5 100644 --- a/HomeScreen/qml/main.qml +++ b/HomeScreen/qml/main.qml @@ -1,6 +1,6 @@ /* * Copyright (C) 2016 The Qt Company Ltd. - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH + * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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,6 +27,10 @@ Window { height: container.height * container.scale title: 'HomeScreen' + ApplicationLauncher { + id: launcher + } + Image { id: container anchors.centerIn: parent @@ -48,6 +53,16 @@ Window { Layout.fillWidth: true Layout.fillHeight: true Layout.preferredHeight: 1920 - 218 - 215 + + visible: false + } + + Home { + id: appLauncherAreaLauncher + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 1920 - 218 - 215 + visible: true } MediaArea {