From 51c221923d1cb380051a6a8804bd0ef371f37b45 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 5 Apr 2019 19:45:14 +0900 Subject: Add demo3 homescreen source code Add demo3 homescreen source code [Patch Set 2]Update LICENSE file. Change-Id: I22768e87b2e440428cb38b84d52e152f50a4794e BUG-AGL: SPEC-2261 Signed-off-by: zheng_wenlong --- homescreen/qml/TopArea.qml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 homescreen/qml/TopArea.qml (limited to 'homescreen/qml/TopArea.qml') diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml new file mode 100644 index 0000000..4e5ccf5 --- /dev/null +++ b/homescreen/qml/TopArea.qml @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH + * Copyright (c) 2017-2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import QtQuick 2.2 +import QtQuick.Layouts 1.1 +import QtQuick.Controls 2.0 + +Item { + width: 700 + height: 80 + + RowLayout { + anchors.fill: parent + spacing: 0 + StatusArea { + id: statusArea + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredWidth: 700 + } + } +} -- cgit 1.2.3-korg