From 6bf5bbd0ab5abab05305667a516c069c7c5556f4 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Fri, 2 Dec 2016 11:19:51 +0900 Subject: WIP: add Qt Quick HomeScreen UI Change-Id: I2be964f6d9e76df616169d7b2654d17ae9446687 Signed-off-by: Tasuku Suzuki --- HomeScreenNG/qml/main.qml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 HomeScreenNG/qml/main.qml (limited to 'HomeScreenNG/qml/main.qml') 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 + } + } + } +} -- cgit 1.2.3-korg