X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreenNG%2Fqml%2Fmain.qml;fp=HomeScreenNG%2Fqml%2Fmain.qml;h=e9774aec03324c21fa462b2ea2eb8c610fca290f;hb=6bf5bbd0ab5abab05305667a516c069c7c5556f4;hp=0000000000000000000000000000000000000000;hpb=505ec164e5174ddd838c0cac1e3e828930cb3b50;p=staging%2FHomeScreen.git diff --git a/HomeScreenNG/qml/main.qml b/HomeScreenNG/qml/main.qml new file mode 100644 index 0000000..e9774ae --- /dev/null +++ b/HomeScreenNG/qml/main.qml @@ -0,0 +1,44 @@ +import QtQuick 2.7 +import QtQuick.Window 2.2 +import QtQuick.Layouts 1.1 + +Window { + visible: true + flags: Qt.FramelessWindowHint + width: container.width * container.scale + height: container.height * container.scale + title: 'HomeScreen' + + Image { + id: container + anchors.centerIn: parent + width: 1080 + height: 1920 + scale: 0.7 + source: './images/AGL_HMI_Background_NoCar-01.png' + + ColumnLayout { + anchors.fill: parent + spacing: 0 + TopArea { + id: topArea + Layout.fillWidth: true + Layout.preferredHeight: 218 + } + + Item { + id: applicationArea + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 1920 - 218 - 215 + } + + MediaArea { + id: mediaArea + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 215 + } + } + } +}