From 381755e4686a08e766316aaf40e8fdfa202d48d4 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 29 Sep 2017 21:00:25 +0900 Subject: Add homescreen-2017 Add new homescreen-2017 with agl-service-windowmanaeger-2017 and agl-service-homescreen-2017. About this information see JIRA SPEC-871. [PatchSet2] Use aglwgt make package. Delete homescreensimulator and sampleapptimedate beacuse not use them. Change-Id: I402134d0386e76b2127ca95b9b0b48c1721b4086 Signed-off-by: zheng_wenlong --- homescreen/qml/Home.qml | 97 +++++++++++++++ homescreen/qml/IconItem.qml | 37 ++++++ homescreen/qml/MediaArea.qml | 57 +++++++++ homescreen/qml/MediaAreaBlank.qml | 135 +++++++++++++++++++++ homescreen/qml/MediaAreaMusic.qml | 85 +++++++++++++ homescreen/qml/MediaAreaRadio.qml | 24 ++++ homescreen/qml/ShortcutArea.qml | 85 +++++++++++++ homescreen/qml/ShortcutIcon.qml | 54 +++++++++ homescreen/qml/StatusArea.qml | 105 ++++++++++++++++ homescreen/qml/TopArea.qml | 43 +++++++ .../qml/images/AGL_HMI_Background_NoCar-01.png | Bin 0 -> 944767 bytes .../qml/images/Home/AGL_HMI_Background_Car-01.png | Bin 0 -> 216666 bytes .../HMI_AppLauncher_Connectivity_Active-01.png | Bin 0 -> 34136 bytes .../HMI_AppLauncher_Connectivity_Inactive-01.png | Bin 0 -> 26878 bytes .../Home/HMI_AppLauncher_Dashboard_Active-01.png | Bin 0 -> 32014 bytes .../Home/HMI_AppLauncher_Dashboard_Inactive-01.png | Bin 0 -> 25298 bytes .../images/Home/HMI_AppLauncher_HVAC_Active-01.png | Bin 0 -> 31650 bytes .../Home/HMI_AppLauncher_HVAC_Inactive-01.png | Bin 0 -> 24398 bytes .../Home/HMI_AppLauncher_MediaPlayer_Active-01.png | Bin 0 -> 29605 bytes .../HMI_AppLauncher_MediaPlayer_Inactive-01.png | Bin 0 -> 23307 bytes .../Home/HMI_AppLauncher_Mixer_Active-01.png | Bin 0 -> 29104 bytes .../Home/HMI_AppLauncher_Mixer_Inactive-01.png | Bin 0 -> 21878 bytes .../Home/HMI_AppLauncher_Navigation_Active-01.png | Bin 0 -> 38244 bytes .../HMI_AppLauncher_Navigation_Inactive-01.png | Bin 0 -> 33027 bytes .../images/Home/HMI_AppLauncher_POI_Active-01.png | Bin 0 -> 33356 bytes .../Home/HMI_AppLauncher_POI_Inactive-01.png | Bin 0 -> 26924 bytes .../Home/HMI_AppLauncher_Phone_Active-01.png | Bin 0 -> 30830 bytes .../Home/HMI_AppLauncher_Phone_Inactive-01.png | Bin 0 -> 23978 bytes .../Home/HMI_AppLauncher_Radio_Active-01.png | Bin 0 -> 29028 bytes .../Home/HMI_AppLauncher_Radio_Inactive-01.png | Bin 0 -> 21186 bytes .../Home/HMI_AppLauncher_Settings_Active-01.png | Bin 0 -> 33558 bytes .../Home/HMI_AppLauncher_Settings_Inactive-01.png | Bin 0 -> 26571 bytes homescreen/qml/images/Home/home.qrc | 25 ++++ homescreen/qml/images/MediaMusic/AlbumArtwork.png | Bin 0 -> 25963 bytes homescreen/qml/images/MediaMusic/BackArrow.png | Bin 0 -> 691 bytes homescreen/qml/images/MediaMusic/ForwardArrow.png | Bin 0 -> 717 bytes homescreen/qml/images/MediaMusic/ShuffleIcon.png | Bin 0 -> 927 bytes homescreen/qml/images/MediaMusic/Volume_Loud.png | Bin 0 -> 579 bytes homescreen/qml/images/MediaMusic/Volume_Medium.png | Bin 0 -> 882 bytes homescreen/qml/images/MediaMusic/Volume_Off.png | Bin 0 -> 740 bytes homescreen/qml/images/MediaMusic/mediamusic.qrc | 11 ++ .../MediaPlayer/AGL_MediaPlayer_AlbumArtwork.png | Bin 0 -> 1854532 bytes .../MediaPlayer/AGL_MediaPlayer_BackArrow.png | Bin 0 -> 648 bytes .../AGL_MediaPlayer_Bluetooth_Active.png | Bin 0 -> 4637 bytes .../AGL_MediaPlayer_Bluetooth_Inactive.png | Bin 0 -> 2790 bytes .../MediaPlayer/AGL_MediaPlayer_CD_Active.png | Bin 0 -> 5581 bytes .../MediaPlayer/AGL_MediaPlayer_CD_Inactive.png | Bin 0 -> 3223 bytes .../MediaPlayer/AGL_MediaPlayer_DividingLine.png | Bin 0 -> 342 bytes .../MediaPlayer/AGL_MediaPlayer_ForwardArrow.png | Bin 0 -> 675 bytes .../MediaPlayer/AGL_MediaPlayer_Loop_Active.png | Bin 0 -> 996 bytes .../MediaPlayer/AGL_MediaPlayer_Loop_Inactive.png | Bin 0 -> 1199 bytes .../MediaPlayer/AGL_MediaPlayer_Player_Pause.png | Bin 0 -> 3959 bytes .../MediaPlayer/AGL_MediaPlayer_Player_Play.png | Bin 0 -> 4078 bytes .../AGL_MediaPlayer_PlaylistToggle_Active.png | Bin 0 -> 2061 bytes .../AGL_MediaPlayer_PlaylistToggle_Inactive.png | Bin 0 -> 2061 bytes .../AGL_MediaPlayer_Playlist_Active.png | Bin 0 -> 4251 bytes .../AGL_MediaPlayer_Playlist_Inactive.png | Bin 0 -> 2547 bytes .../MediaPlayer/AGL_MediaPlayer_Radio_Active.png | Bin 0 -> 4673 bytes .../MediaPlayer/AGL_MediaPlayer_Radio_Inactive.png | Bin 0 -> 2877 bytes .../MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png | Bin 0 -> 1139 bytes .../AGL_MediaPlayer_Shuffle_Inactive.png | Bin 0 -> 1379 bytes .../qml/images/MediaPlayer/Albums_Active.png | Bin 0 -> 4616 bytes .../qml/images/MediaPlayer/Albums_Inactive.png | Bin 0 -> 2965 bytes homescreen/qml/images/MediaPlayer/DividingLine.png | Bin 0 -> 419 bytes homescreen/qml/images/MediaPlayer/GreenLine.png | Bin 0 -> 364 bytes homescreen/qml/images/MediaPlayer/Music_Active.png | Bin 0 -> 2567 bytes .../qml/images/MediaPlayer/Music_Inactive.png | Bin 0 -> 2692 bytes .../qml/images/MediaPlayer/Podcasts_Active.png | Bin 0 -> 3687 bytes .../qml/images/MediaPlayer/Podcasts_Inactive.png | Bin 0 -> 3014 bytes .../qml/images/MediaPlayer/Popup_Highlight.png | Bin 0 -> 780 bytes .../qml/images/MediaPlayer/Popup_PauseIcon.png | Bin 0 -> 1496 bytes .../qml/images/MediaPlayer/Popup_PlayIcon.png | Bin 0 -> 2273 bytes .../qml/images/MediaPlayer/Popup_VerticalLine.png | Bin 0 -> 364 bytes homescreen/qml/images/MediaPlayer/X.png | Bin 0 -> 640 bytes homescreen/qml/images/MediaPlayer/mediaplayer.qrc | 37 ++++++ .../qml/images/Shortcut/HMI_Shortcut_HVAC-01.png | Bin 0 -> 4108 bytes .../Shortcut/HMI_Shortcut_HVAC_Active-01.png | Bin 0 -> 5908 bytes .../qml/images/Shortcut/HMI_Shortcut_Home-01.png | Bin 0 -> 3435 bytes .../Shortcut/HMI_Shortcut_Home_Active-01.png | Bin 0 -> 4924 bytes .../Shortcut/HMI_Shortcut_MediaPlayer-01.png | Bin 0 -> 4114 bytes .../HMI_Shortcut_MediaPlayer_Active-01.png | Bin 0 -> 5973 bytes .../images/Shortcut/HMI_Shortcut_Navigation-01.png | Bin 0 -> 7122 bytes .../Shortcut/HMI_Shortcut_Navigation_Active-01.png | Bin 0 -> 9799 bytes .../qml/images/Shortcut/HMI_Shortcut_Radio-01.png | Bin 0 -> 4608 bytes .../Shortcut/HMI_Shortcut_Radio_Active-01.png | Bin 0 -> 6029 bytes homescreen/qml/images/Shortcut/shortcut.qrc | 14 +++ .../Status/HMI_Status_Bluetooth_Inactive-01.png | Bin 0 -> 1170 bytes .../images/Status/HMI_Status_Bluetooth_On-01.png | Bin 0 -> 922 bytes .../images/Status/HMI_Status_Signal_1Bars-01.png | Bin 0 -> 570 bytes .../images/Status/HMI_Status_Signal_2Bars-01.png | Bin 0 -> 564 bytes .../images/Status/HMI_Status_Signal_3Bars-01.png | Bin 0 -> 560 bytes .../images/Status/HMI_Status_Signal_4Bars-01.png | Bin 0 -> 552 bytes .../images/Status/HMI_Status_Signal_Full-01.png | Bin 0 -> 544 bytes .../images/Status/HMI_Status_Signal_NoBars-01.png | Bin 0 -> 575 bytes .../qml/images/Status/HMI_Status_Wifi_1Bar-01.png | Bin 0 -> 1245 bytes .../qml/images/Status/HMI_Status_Wifi_2Bars-01.png | Bin 0 -> 1198 bytes .../qml/images/Status/HMI_Status_Wifi_3Bars-01.png | Bin 0 -> 1120 bytes .../qml/images/Status/HMI_Status_Wifi_Full-01.png | Bin 0 -> 995 bytes .../images/Status/HMI_Status_Wifi_NoBars-01.png | Bin 0 -> 1278 bytes homescreen/qml/images/Status/status.qrc | 17 +++ .../qml/images/TopSection_NoText_NoIcons-01.png | Bin 0 -> 2097 bytes .../qml/images/Utility_Logo_Background-01.png | Bin 0 -> 1150 bytes homescreen/qml/images/Utility_Logo_Colour-01.png | Bin 0 -> 8638 bytes .../qml/images/Utility_Music_Background-01.png | Bin 0 -> 711 bytes .../qml/images/Utility_Radio_Background-01.png | Bin 0 -> 920 bytes .../qml/images/Weather/WeatherIcons_ALL-01.png | Bin 0 -> 1320 bytes .../qml/images/Weather/WeatherIcons_Cloudy-01.png | Bin 0 -> 715 bytes .../qml/images/Weather/WeatherIcons_Moon-01.png | Bin 0 -> 749 bytes .../Weather/WeatherIcons_PartiallyCloudy-01.png | Bin 0 -> 900 bytes .../qml/images/Weather/WeatherIcons_Rain-01.png | Bin 0 -> 870 bytes .../qml/images/Weather/WeatherIcons_Snow-01.png | Bin 0 -> 840 bytes .../qml/images/Weather/WeatherIcons_Sun-01.png | Bin 0 -> 807 bytes .../Weather/WeatherIcons_Thunderstorm-01.png | Bin 0 -> 886 bytes homescreen/qml/images/Weather/weather.qrc | 12 ++ homescreen/qml/images/images.qrc | 10 ++ homescreen/qml/main.qml | 76 ++++++++++++ homescreen/qml/qml.qrc | 15 +++ 117 files changed, 939 insertions(+) create mode 100644 homescreen/qml/Home.qml create mode 100644 homescreen/qml/IconItem.qml create mode 100644 homescreen/qml/MediaArea.qml create mode 100644 homescreen/qml/MediaAreaBlank.qml create mode 100644 homescreen/qml/MediaAreaMusic.qml create mode 100644 homescreen/qml/MediaAreaRadio.qml create mode 100644 homescreen/qml/ShortcutArea.qml create mode 100644 homescreen/qml/ShortcutIcon.qml create mode 100644 homescreen/qml/StatusArea.qml create mode 100644 homescreen/qml/TopArea.qml create mode 100644 homescreen/qml/images/AGL_HMI_Background_NoCar-01.png create mode 100644 homescreen/qml/images/Home/AGL_HMI_Background_Car-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_POI_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_POI_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Phone_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Phone_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Radio_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Radio_Inactive-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Settings_Active-01.png create mode 100644 homescreen/qml/images/Home/HMI_AppLauncher_Settings_Inactive-01.png create mode 100644 homescreen/qml/images/Home/home.qrc create mode 100644 homescreen/qml/images/MediaMusic/AlbumArtwork.png create mode 100644 homescreen/qml/images/MediaMusic/BackArrow.png create mode 100644 homescreen/qml/images/MediaMusic/ForwardArrow.png create mode 100644 homescreen/qml/images/MediaMusic/ShuffleIcon.png create mode 100644 homescreen/qml/images/MediaMusic/Volume_Loud.png create mode 100644 homescreen/qml/images/MediaMusic/Volume_Medium.png create mode 100644 homescreen/qml/images/MediaMusic/Volume_Off.png create mode 100644 homescreen/qml/images/MediaMusic/mediamusic.qrc create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_AlbumArtwork.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_BackArrow.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_DividingLine.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Play.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/Albums_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/Albums_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/DividingLine.png create mode 100644 homescreen/qml/images/MediaPlayer/GreenLine.png create mode 100644 homescreen/qml/images/MediaPlayer/Music_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/Music_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/Podcasts_Active.png create mode 100644 homescreen/qml/images/MediaPlayer/Podcasts_Inactive.png create mode 100644 homescreen/qml/images/MediaPlayer/Popup_Highlight.png create mode 100644 homescreen/qml/images/MediaPlayer/Popup_PauseIcon.png create mode 100644 homescreen/qml/images/MediaPlayer/Popup_PlayIcon.png create mode 100644 homescreen/qml/images/MediaPlayer/Popup_VerticalLine.png create mode 100644 homescreen/qml/images/MediaPlayer/X.png create mode 100644 homescreen/qml/images/MediaPlayer/mediaplayer.qrc create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC_Active-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_Home-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_Home_Active-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer_Active-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation_Active-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_Radio-01.png create mode 100644 homescreen/qml/images/Shortcut/HMI_Shortcut_Radio_Active-01.png create mode 100644 homescreen/qml/images/Shortcut/shortcut.qrc create mode 100644 homescreen/qml/images/Status/HMI_Status_Bluetooth_Inactive-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Bluetooth_On-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Signal_1Bars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Signal_2Bars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Signal_3Bars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Signal_4Bars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Signal_Full-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Signal_NoBars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Wifi_1Bar-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Wifi_2Bars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Wifi_3Bars-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Wifi_Full-01.png create mode 100644 homescreen/qml/images/Status/HMI_Status_Wifi_NoBars-01.png create mode 100644 homescreen/qml/images/Status/status.qrc create mode 100644 homescreen/qml/images/TopSection_NoText_NoIcons-01.png create mode 100644 homescreen/qml/images/Utility_Logo_Background-01.png create mode 100644 homescreen/qml/images/Utility_Logo_Colour-01.png create mode 100644 homescreen/qml/images/Utility_Music_Background-01.png create mode 100644 homescreen/qml/images/Utility_Radio_Background-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_ALL-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_Cloudy-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_Moon-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_PartiallyCloudy-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_Rain-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_Snow-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_Sun-01.png create mode 100644 homescreen/qml/images/Weather/WeatherIcons_Thunderstorm-01.png create mode 100644 homescreen/qml/images/Weather/weather.qrc create mode 100644 homescreen/qml/images/images.qrc create mode 100644 homescreen/qml/main.qml create mode 100644 homescreen/qml/qml.qrc (limited to 'homescreen/qml') diff --git a/homescreen/qml/Home.qml b/homescreen/qml/Home.qml new file mode 100644 index 0000000..729ef36 --- /dev/null +++ b/homescreen/qml/Home.qml @@ -0,0 +1,97 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 Home 1.0 + +Item { + id: root + + Image { + y: 0 + anchors.fill: parent + anchors.topMargin: -218 + anchors.bottomMargin: -215 + source: './images/AGL_HMI_Background_Car-01.png' + } + + property int pid: -1 + width: 1080 + height: 1487 + + GridView { + id: grid + x: 60 + y: 100 + width: 960 + height: 1280 + anchors.horizontalCenter: parent.horizontalCenter + anchors.verticalCenter: parent.verticalCenter + contentHeight: 320 + flickableDirection: Flickable.AutoFlickDirection + snapMode: GridView.SnapOneRow + visible: true + cellWidth: 320 + cellHeight: 320 + interactive: false + + model: ApplicationModel { id: applicationModel } + delegate: IconItem { + width: grid.cellWidth + height: grid.cellHeight + } + + MouseArea { + id: loc + anchors.fill: parent + property string currentId: '' + property int newIndex: -1 + property int index: grid.indexAt(loc.mouseX, loc.mouseY) + x: 62 + y: 264 + anchors.rightMargin: 0 + anchors.bottomMargin: 0 + anchors.leftMargin: 0 + anchors.topMargin: 0 + onPressAndHold: currentId = applicationModel.id(newIndex = index) + onReleased: { + if (currentId === '') { + pid = launcher.launch(applicationModel.id(loc.index)) + if (1 < pid) { +// layoutHandler.makeMeVisible(pid) + + applicationArea.visible = true + appLauncherAreaLauncher.visible = false + // layoutHandler.showAppLayer(applicationModel.id(loc.index), pid) + } + else { + console.warn("app cannot be launched!") + } + } else { + currentId = '' + } + homescreenHandler.tapShortcut(applicationModel.name(loc.index)) + } + onPositionChanged: { + if (loc.currentId === '') return + if (index < 0) return + if (index === newIndex) return + applicationModel.move(newIndex, newIndex = index) + } + } + } +} diff --git a/homescreen/qml/IconItem.qml b/homescreen/qml/IconItem.qml new file mode 100644 index 0000000..59131c0 --- /dev/null +++ b/homescreen/qml/IconItem.qml @@ -0,0 +1,37 @@ +import QtQuick 2.0 + +Item { + id: main + Image { + id: item; parent: loc + x: main.x + 5; y: main.y + 5 + width: main.width - 10; height: main.height - 10; + source: './images/HMI_AppLauncher_%1_%2-01.png'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'Active' : 'Inactive') + antialiasing: item.state !== '' + Behavior on x { enabled: item.state !== 'active'; NumberAnimation { duration: 400; easing.type: Easing.OutCubic } } + Behavior on y { enabled: item.state !== 'active'; NumberAnimation { duration: 400; easing.type: Easing.OutCubic } } + SequentialAnimation on rotation { + NumberAnimation { to: 5; duration: 100 } + NumberAnimation { to: -5; duration: 200 } + NumberAnimation { to: 0; duration: 100 } + running: loc.currentId !== '' && item.state !== 'active' + loops: Animation.Infinite; alwaysRunToEnd: true + } + states: [ + State { + name: 'active' + when: loc.currentId == model.id + PropertyChanges { target: item; x: loc.mouseX - width/2; y: loc.mouseY - height/2; scale: 1.15; z: 10 } + }, + State { + when: loc.currentId !== '' + PropertyChanges { + target: item + scale: 0.85 + opacity: 0.75 + } + } + ] + transitions: Transition { NumberAnimation { properties: 'scale, opacity, x, y'; duration: 150; easing.type: Easing.OutCubic} } + } +} diff --git a/homescreen/qml/MediaArea.qml b/homescreen/qml/MediaArea.qml new file mode 100644 index 0000000..d7159d2 --- /dev/null +++ b/homescreen/qml/MediaArea.qml @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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.Controls 1.0 + +StackView { + id: root + width: 1080 + height: 215 + + initialItem: blank + + Component { + id: blank + MediaAreaBlank { +// MouseArea { +// anchors.fill: parent +// onClicked: root.push(mouse.x < 540 ? music : radio) +// } + } + } + + Component { + id: music + MediaAreaMusic { + MouseArea { + anchors.fill: parent + onClicked: root.pop() + } + } + } + + Component { + id: radio + MediaAreaRadio { + MouseArea { + anchors.fill: parent + onClicked: root.pop() + } + } + } +} diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml new file mode 100644 index 0000000..51fa657 --- /dev/null +++ b/homescreen/qml/MediaAreaBlank.qml @@ -0,0 +1,135 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 +import AGL.Demo.Controls 1.0 +import MasterVolume 1.0 + +Image { + width: 1080 + height: 215 + source: './images/Utility_Logo_Background-01.png' + property bool displayVolume: false; + + MouseArea { + anchors.fill: parent + function enableVolumeDisplay() { + if (!displayVolume) { + displayVolume = true + master_volume.visible = true + volume_timer.restart() + } + } + onClicked: enableVolumeDisplay() + } + + Image { + id: logo_image + anchors.centerIn: parent + source: './images/Utility_Logo_Colour-01.png' + } + + Timer { + id: volume_timer + interval: 5000; running: false; repeat: false + onTriggered: displayVolume = false + } + + states: [ + State { when: displayVolume; + PropertyChanges { target: master_volume; opacity: 1.0 } + PropertyChanges { target: slider; enabled: true } + PropertyChanges { target: logo_image; opacity: 0.0 } + }, + State { when: !displayVolume; + PropertyChanges { target: master_volume; opacity: 0.0 } + PropertyChanges { target: slider; enabled: false } + PropertyChanges { target: logo_image; opacity: 1.0 } + } + ] + + transitions: Transition { + NumberAnimation { property: "opacity"; duration: 500} + } + + MasterVolume { + id: mv + objectName: "mv" + onVolumeChanged: slider.value = volume + } + + Item { + id: master_volume + anchors.fill: parent + anchors.centerIn: parent + visible: false + + Label { + font.pixelSize: 36 + anchors.horizontalCenter: parent.horizontalCenter + color: "white" + text: "Master Volume" + } + + RowLayout { + anchors.fill: parent + anchors.centerIn: parent + anchors.margins: 20 + spacing: 20 + Label { + font.pixelSize: 36 + color: "white" + text: "0 %" + } + Slider { + id: slider + Layout.fillWidth: true + from: 0 + to: 65536 + stepSize: 256 + snapMode: Slider.SnapOnRelease + onValueChanged: mv.volume = value + Component.onCompleted: value = mv.volume + onPressedChanged: { + if (pressed) {volume_timer.stop()} + else {volume_timer.restart()} + } + background: Rectangle { + id: slider_bg + height: 16 + color: "#59FF7F" + } + handle: Rectangle { + anchors.verticalCenter: slider_bg.verticalCenter + width: 48 + height: 48 + radius: 24 + x: slider.leftPadding + slider.visualPosition * (slider.availableWidth - width) + y: slider.topPadding + slider.availableHeight / 2 - height / 2 + color: "white" + } + } + Label { + font.pixelSize: 36 + color: "white" + text: "100 %" + } + } + } +} diff --git a/homescreen/qml/MediaAreaMusic.qml b/homescreen/qml/MediaAreaMusic.qml new file mode 100644 index 0000000..927e82c --- /dev/null +++ b/homescreen/qml/MediaAreaMusic.qml @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 1.0 + +Image { + width: 1080 + height: 215 + source: './images/Utility_Music_Background-01.png' + + ColumnLayout { + anchors.fill: parent + spacing: 1 + RowLayout { + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 107 + spacing: 10 + Image { + source: './images/MediaMusic/AlbumArtwork.png' + width: 105.298 + height: 110.179 + fillMode: Image.PreserveAspectFit + } + Label { + text: 'Come Together - The Beatles' + font.family: 'Roboto' + font.pixelSize: 32 + color: 'white' + } + } + + RowLayout { + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 107 + Image { + source: './images/MediaPlayer/AGL_MediaPlayer_BackArrow.png' + } + Image { + source: './images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png' + } + Image { + source: './images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png' + } + + ProgressBar { + Layout.fillWidth: true + Layout.preferredWidth: 2 + } + + Label { + text: '2:12/4:19' + font.family: 'Roboto' + font.pixelSize: 20 + } + Image { + source: './images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png' + } + Image { + source: './images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png' + } + ProgressBar { + Layout.fillWidth: true + Layout.preferredWidth: 1 + } + } + } +} diff --git a/homescreen/qml/MediaAreaRadio.qml b/homescreen/qml/MediaAreaRadio.qml new file mode 100644 index 0000000..a49f06d --- /dev/null +++ b/homescreen/qml/MediaAreaRadio.qml @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 + +Image { + width: 1080 + height: 215 + source: './images/Utility_Radio_Background-01.png' +} diff --git a/homescreen/qml/ShortcutArea.qml b/homescreen/qml/ShortcutArea.qml new file mode 100644 index 0000000..94bad5d --- /dev/null +++ b/homescreen/qml/ShortcutArea.qml @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 + +Item { + id: root + width: 785 + height: 218 + + + ListModel { + id: applicationModel + ListElement { + name: 'Home' + application: '' + } + ListElement { + name: 'MediaPlayer' + application: 'mediaplayer@0.1' + } + ListElement { +// name: 'HVAC' +// application: 'hvac@0.1' + name: 'Radio' + application: 'radio@0.1' + } + ListElement { + name: 'Navigation' + application: 'navigation@0.1' + } + } + + property int pid: -1 + + RowLayout { + anchors.fill: parent + spacing: 2 + Repeater { + model: applicationModel + delegate: ShortcutIcon { + Layout.fillWidth: true + Layout.fillHeight: true + name: model.name + active: model.application === launcher.current + onClicked: { + if (0 === model.index) { + appLauncherAreaLauncher.visible = true + applicationArea.visible = false +// layoutHandler.hideAppLayer() + launcher.current = '' + } + else { + pid = launcher.launch(model.application) + if (1 < pid) { + applicationArea.visible = true + appLauncherAreaLauncher.visible = false +// layoutHandler.makeMeVisible(pid) +// layoutHandler.showAppLayer(model.application, pid) + } + else { + console.warn("app cannot be launched!") + } + } + homescreenHandler.tapShortcut(model.name) + } + } + } + } +} diff --git a/homescreen/qml/ShortcutIcon.qml b/homescreen/qml/ShortcutIcon.qml new file mode 100644 index 0000000..6f8e05e --- /dev/null +++ b/homescreen/qml/ShortcutIcon.qml @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 + +MouseArea { + id: root + width: 195 + height: 216.8 + property string name: 'Home' + property bool active: false + Image { + id: icon + anchors.fill: parent + source: './images/Shortcut/HMI_Shortcut_%1-01.png'.arg(root.name) + } + Image { + anchors.fill: parent + source: './images/Shortcut/HMI_Shortcut_%1_Active-01.png'.arg(root.name) + opacity: 1.0 - icon.opacity + } + states: [ + State { + when: root.active + PropertyChanges { + target: icon + opacity: 0.0 + } + } + ] + + transitions: [ + Transition { + NumberAnimation { + properties: 'opacity' + easing.type: Easing.OutExpo + } + } + ] +} diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml new file mode 100644 index 0000000..3fc3079 --- /dev/null +++ b/homescreen/qml/StatusArea.qml @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 1.0 +import HomeScreen 1.0 + +Item { + id: root + width: 295 + height: 218 + + property date now: new Date + Timer { + interval: 100; running: true; repeat: true; + onTriggered: root.now = new Date + } + + RowLayout { + anchors.fill: parent + spacing: 0 + Item { + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredWidth: 295 - 76 + ColumnLayout { + anchors.fill: parent + anchors.margins: 40 + spacing: 0 + Text { + Layout.fillWidth: true + Layout.fillHeight: true + text: Qt.formatDate(now, 'dddd').toUpperCase() + font.family: 'Roboto' + font.pixelSize: 13 + color: 'white' + verticalAlignment: Text.AlignVCenter +// Rectangle { +// anchors.fill: parent +// anchors.margins: 5 +// color: 'red' +// border.color: 'blue' +// border.width: 1 +// z: -1 +// } + } + Text { + Layout.fillWidth: true + Layout.fillHeight: true + text: Qt.formatTime(now, 'h:mm ap').toUpperCase() + font.family: 'Roboto' + font.pixelSize: 40 + color: 'white' + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + RowLayout { + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 20 + Image { + source: './images/Weather/WeatherIcons_Rain-01.png' + } + Text { + text: '64°F' + color: 'white' + font.family: 'Helvetica' + font.pixelSize: 32 + } + } + } + } + ColumnLayout { + id: icons + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredWidth: 76 + spacing: -10 + Repeater { + model: StatusBarModel {} + delegate: Image { + Layout.preferredWidth: 77 + Layout.preferredHeight: 73 + source: model.modelData + fillMode: Image.PreserveAspectFit + } + } + } + } +} diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml new file mode 100644 index 0000000..922742d --- /dev/null +++ b/homescreen/qml/TopArea.qml @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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 + +Image { + width: 1920 + height: 218 + source: './images/TopSection_NoText_NoIcons-01.png' + fillMode: Image.PreserveAspectCrop + + RowLayout { + anchors.fill: parent + spacing: 0 + ShortcutArea { + id: shortcutArea + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredWidth: 785 + } + StatusArea { + id: statusArea + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredWidth: 295 + } + } +} diff --git a/homescreen/qml/images/AGL_HMI_Background_NoCar-01.png b/homescreen/qml/images/AGL_HMI_Background_NoCar-01.png new file mode 100644 index 0000000..595f742 Binary files /dev/null and b/homescreen/qml/images/AGL_HMI_Background_NoCar-01.png differ diff --git a/homescreen/qml/images/Home/AGL_HMI_Background_Car-01.png b/homescreen/qml/images/Home/AGL_HMI_Background_Car-01.png new file mode 100644 index 0000000..b0072d8 Binary files /dev/null and b/homescreen/qml/images/Home/AGL_HMI_Background_Car-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Active-01.png new file mode 100644 index 0000000..888d0bd Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Inactive-01.png new file mode 100644 index 0000000..ab83b0e Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Connectivity_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Active-01.png new file mode 100644 index 0000000..11d39e5 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Inactive-01.png new file mode 100644 index 0000000..6c0b914 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Dashboard_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Active-01.png new file mode 100644 index 0000000..efc11e9 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Inactive-01.png new file mode 100644 index 0000000..b528376 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_HVAC_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Active-01.png new file mode 100644 index 0000000..1c99ac4 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Inactive-01.png new file mode 100644 index 0000000..0bed61d Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_MediaPlayer_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Active-01.png new file mode 100644 index 0000000..41c499d Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Inactive-01.png new file mode 100644 index 0000000..93f81af Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Mixer_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Active-01.png new file mode 100644 index 0000000..e7ad085 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Inactive-01.png new file mode 100644 index 0000000..dd40750 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Navigation_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_POI_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_POI_Active-01.png new file mode 100644 index 0000000..2df01d3 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_POI_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_POI_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_POI_Inactive-01.png new file mode 100644 index 0000000..ec62b87 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_POI_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Phone_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Phone_Active-01.png new file mode 100644 index 0000000..2150581 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Phone_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Phone_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Phone_Inactive-01.png new file mode 100644 index 0000000..61dcedc Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Phone_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Radio_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Radio_Active-01.png new file mode 100644 index 0000000..1aa5a01 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Radio_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Radio_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Radio_Inactive-01.png new file mode 100644 index 0000000..616983e Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Radio_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Settings_Active-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Settings_Active-01.png new file mode 100644 index 0000000..1d13fd6 Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Settings_Active-01.png differ diff --git a/homescreen/qml/images/Home/HMI_AppLauncher_Settings_Inactive-01.png b/homescreen/qml/images/Home/HMI_AppLauncher_Settings_Inactive-01.png new file mode 100644 index 0000000..027f1fe Binary files /dev/null and b/homescreen/qml/images/Home/HMI_AppLauncher_Settings_Inactive-01.png differ diff --git a/homescreen/qml/images/Home/home.qrc b/homescreen/qml/images/Home/home.qrc new file mode 100644 index 0000000..49d19d8 --- /dev/null +++ b/homescreen/qml/images/Home/home.qrc @@ -0,0 +1,25 @@ + + + AGL_HMI_Background_Car-01.png + HMI_AppLauncher_Connectivity_Active-01.png + HMI_AppLauncher_Connectivity_Inactive-01.png + HMI_AppLauncher_Dashboard_Active-01.png + HMI_AppLauncher_Dashboard_Inactive-01.png + HMI_AppLauncher_HVAC_Active-01.png + HMI_AppLauncher_HVAC_Inactive-01.png + HMI_AppLauncher_Mixer_Active-01.png + HMI_AppLauncher_Mixer_Inactive-01.png + HMI_AppLauncher_MediaPlayer_Active-01.png + HMI_AppLauncher_MediaPlayer_Inactive-01.png + HMI_AppLauncher_Navigation_Active-01.png + HMI_AppLauncher_Navigation_Inactive-01.png + HMI_AppLauncher_Phone_Active-01.png + HMI_AppLauncher_Phone_Inactive-01.png + HMI_AppLauncher_POI_Active-01.png + HMI_AppLauncher_POI_Inactive-01.png + HMI_AppLauncher_Radio_Active-01.png + HMI_AppLauncher_Radio_Inactive-01.png + HMI_AppLauncher_Settings_Active-01.png + HMI_AppLauncher_Settings_Inactive-01.png + + diff --git a/homescreen/qml/images/MediaMusic/AlbumArtwork.png b/homescreen/qml/images/MediaMusic/AlbumArtwork.png new file mode 100644 index 0000000..3716ab3 Binary files /dev/null and b/homescreen/qml/images/MediaMusic/AlbumArtwork.png differ diff --git a/homescreen/qml/images/MediaMusic/BackArrow.png b/homescreen/qml/images/MediaMusic/BackArrow.png new file mode 100644 index 0000000..63e38d9 Binary files /dev/null and b/homescreen/qml/images/MediaMusic/BackArrow.png differ diff --git a/homescreen/qml/images/MediaMusic/ForwardArrow.png b/homescreen/qml/images/MediaMusic/ForwardArrow.png new file mode 100644 index 0000000..a513705 Binary files /dev/null and b/homescreen/qml/images/MediaMusic/ForwardArrow.png differ diff --git a/homescreen/qml/images/MediaMusic/ShuffleIcon.png b/homescreen/qml/images/MediaMusic/ShuffleIcon.png new file mode 100644 index 0000000..30f75c5 Binary files /dev/null and b/homescreen/qml/images/MediaMusic/ShuffleIcon.png differ diff --git a/homescreen/qml/images/MediaMusic/Volume_Loud.png b/homescreen/qml/images/MediaMusic/Volume_Loud.png new file mode 100644 index 0000000..8ea4402 Binary files /dev/null and b/homescreen/qml/images/MediaMusic/Volume_Loud.png differ diff --git a/homescreen/qml/images/MediaMusic/Volume_Medium.png b/homescreen/qml/images/MediaMusic/Volume_Medium.png new file mode 100644 index 0000000..ae5c82e Binary files /dev/null and b/homescreen/qml/images/MediaMusic/Volume_Medium.png differ diff --git a/homescreen/qml/images/MediaMusic/Volume_Off.png b/homescreen/qml/images/MediaMusic/Volume_Off.png new file mode 100644 index 0000000..07e3353 Binary files /dev/null and b/homescreen/qml/images/MediaMusic/Volume_Off.png differ diff --git a/homescreen/qml/images/MediaMusic/mediamusic.qrc b/homescreen/qml/images/MediaMusic/mediamusic.qrc new file mode 100644 index 0000000..b1138c0 --- /dev/null +++ b/homescreen/qml/images/MediaMusic/mediamusic.qrc @@ -0,0 +1,11 @@ + + + AlbumArtwork.png + BackArrow.png + ForwardArrow.png + ShuffleIcon.png + Volume_Loud.png + Volume_Medium.png + Volume_Off.png + + diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_AlbumArtwork.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_AlbumArtwork.png new file mode 100644 index 0000000..14a52b2 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_AlbumArtwork.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_BackArrow.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_BackArrow.png new file mode 100644 index 0000000..0ec1f67 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_BackArrow.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Active.png new file mode 100644 index 0000000..bc2df1d Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Inactive.png new file mode 100644 index 0000000..8d8fc02 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Bluetooth_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Active.png new file mode 100644 index 0000000..94fe38f Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Inactive.png new file mode 100644 index 0000000..12609e1 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_CD_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_DividingLine.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_DividingLine.png new file mode 100644 index 0000000..299903e Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_DividingLine.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png new file mode 100644 index 0000000..33cc700 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Active.png new file mode 100644 index 0000000..9bdb14d Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Inactive.png new file mode 100644 index 0000000..76b0fc9 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Loop_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png new file mode 100644 index 0000000..c423005 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Play.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Play.png new file mode 100644 index 0000000..beece66 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Player_Play.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Active.png new file mode 100644 index 0000000..eec608f Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Inactive.png new file mode 100644 index 0000000..d392a90 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_PlaylistToggle_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Active.png new file mode 100644 index 0000000..22319c9 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Inactive.png new file mode 100644 index 0000000..9fd42e2 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Playlist_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Active.png new file mode 100644 index 0000000..eb61b39 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Inactive.png new file mode 100644 index 0000000..de305f0 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Radio_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png new file mode 100644 index 0000000..d97feec Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Inactive.png b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Inactive.png new file mode 100644 index 0000000..7f6445d Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/Albums_Active.png b/homescreen/qml/images/MediaPlayer/Albums_Active.png new file mode 100644 index 0000000..1f66e23 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Albums_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/Albums_Inactive.png b/homescreen/qml/images/MediaPlayer/Albums_Inactive.png new file mode 100644 index 0000000..e0e7f00 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Albums_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/DividingLine.png b/homescreen/qml/images/MediaPlayer/DividingLine.png new file mode 100644 index 0000000..87f2122 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/DividingLine.png differ diff --git a/homescreen/qml/images/MediaPlayer/GreenLine.png b/homescreen/qml/images/MediaPlayer/GreenLine.png new file mode 100644 index 0000000..0210b83 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/GreenLine.png differ diff --git a/homescreen/qml/images/MediaPlayer/Music_Active.png b/homescreen/qml/images/MediaPlayer/Music_Active.png new file mode 100644 index 0000000..36afac7 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Music_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/Music_Inactive.png b/homescreen/qml/images/MediaPlayer/Music_Inactive.png new file mode 100644 index 0000000..9dae353 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Music_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/Podcasts_Active.png b/homescreen/qml/images/MediaPlayer/Podcasts_Active.png new file mode 100644 index 0000000..fd2d2c0 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Podcasts_Active.png differ diff --git a/homescreen/qml/images/MediaPlayer/Podcasts_Inactive.png b/homescreen/qml/images/MediaPlayer/Podcasts_Inactive.png new file mode 100644 index 0000000..b76b04c Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Podcasts_Inactive.png differ diff --git a/homescreen/qml/images/MediaPlayer/Popup_Highlight.png b/homescreen/qml/images/MediaPlayer/Popup_Highlight.png new file mode 100644 index 0000000..ac63673 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Popup_Highlight.png differ diff --git a/homescreen/qml/images/MediaPlayer/Popup_PauseIcon.png b/homescreen/qml/images/MediaPlayer/Popup_PauseIcon.png new file mode 100644 index 0000000..2627add Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Popup_PauseIcon.png differ diff --git a/homescreen/qml/images/MediaPlayer/Popup_PlayIcon.png b/homescreen/qml/images/MediaPlayer/Popup_PlayIcon.png new file mode 100644 index 0000000..0483e07 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Popup_PlayIcon.png differ diff --git a/homescreen/qml/images/MediaPlayer/Popup_VerticalLine.png b/homescreen/qml/images/MediaPlayer/Popup_VerticalLine.png new file mode 100644 index 0000000..6a9db00 Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/Popup_VerticalLine.png differ diff --git a/homescreen/qml/images/MediaPlayer/X.png b/homescreen/qml/images/MediaPlayer/X.png new file mode 100644 index 0000000..ab392cb Binary files /dev/null and b/homescreen/qml/images/MediaPlayer/X.png differ diff --git a/homescreen/qml/images/MediaPlayer/mediaplayer.qrc b/homescreen/qml/images/MediaPlayer/mediaplayer.qrc new file mode 100644 index 0000000..1cb17ab --- /dev/null +++ b/homescreen/qml/images/MediaPlayer/mediaplayer.qrc @@ -0,0 +1,37 @@ + + + AGL_MediaPlayer_AlbumArtwork.png + AGL_MediaPlayer_BackArrow.png + AGL_MediaPlayer_Bluetooth_Active.png + AGL_MediaPlayer_Bluetooth_Inactive.png + AGL_MediaPlayer_CD_Active.png + AGL_MediaPlayer_CD_Inactive.png + AGL_MediaPlayer_DividingLine.png + AGL_MediaPlayer_ForwardArrow.png + AGL_MediaPlayer_Loop_Active.png + AGL_MediaPlayer_Loop_Inactive.png + AGL_MediaPlayer_Player_Pause.png + AGL_MediaPlayer_Player_Play.png + AGL_MediaPlayer_Playlist_Active.png + AGL_MediaPlayer_Playlist_Inactive.png + AGL_MediaPlayer_PlaylistToggle_Active.png + AGL_MediaPlayer_PlaylistToggle_Inactive.png + AGL_MediaPlayer_Radio_Active.png + AGL_MediaPlayer_Radio_Inactive.png + AGL_MediaPlayer_Shuffle_Active.png + AGL_MediaPlayer_Shuffle_Inactive.png + Albums_Active.png + Albums_Inactive.png + DividingLine.png + GreenLine.png + Music_Active.png + Music_Inactive.png + Podcasts_Active.png + Podcasts_Inactive.png + Popup_Highlight.png + Popup_PauseIcon.png + Popup_PlayIcon.png + Popup_VerticalLine.png + X.png + + diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC-01.png new file mode 100644 index 0000000..f5188f5 Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC_Active-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC_Active-01.png new file mode 100644 index 0000000..abe92d2 Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_HVAC_Active-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_Home-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_Home-01.png new file mode 100644 index 0000000..9aca151 Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_Home-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_Home_Active-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_Home_Active-01.png new file mode 100644 index 0000000..696168f Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_Home_Active-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer-01.png new file mode 100644 index 0000000..229860c Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer_Active-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer_Active-01.png new file mode 100644 index 0000000..b0a023c Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_MediaPlayer_Active-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation-01.png new file mode 100644 index 0000000..34b0671 Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation_Active-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation_Active-01.png new file mode 100644 index 0000000..98e6146 Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_Navigation_Active-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_Radio-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_Radio-01.png new file mode 100644 index 0000000..278bc2a Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_Radio-01.png differ diff --git a/homescreen/qml/images/Shortcut/HMI_Shortcut_Radio_Active-01.png b/homescreen/qml/images/Shortcut/HMI_Shortcut_Radio_Active-01.png new file mode 100644 index 0000000..037e1b5 Binary files /dev/null and b/homescreen/qml/images/Shortcut/HMI_Shortcut_Radio_Active-01.png differ diff --git a/homescreen/qml/images/Shortcut/shortcut.qrc b/homescreen/qml/images/Shortcut/shortcut.qrc new file mode 100644 index 0000000..1b4d424 --- /dev/null +++ b/homescreen/qml/images/Shortcut/shortcut.qrc @@ -0,0 +1,14 @@ + + + HMI_Shortcut_Home_Active-01.png + HMI_Shortcut_Home-01.png + HMI_Shortcut_HVAC_Active-01.png + HMI_Shortcut_HVAC-01.png + HMI_Shortcut_MediaPlayer_Active-01.png + HMI_Shortcut_MediaPlayer-01.png + HMI_Shortcut_Navigation_Active-01.png + HMI_Shortcut_Navigation-01.png + HMI_Shortcut_Radio_Active-01.png + HMI_Shortcut_Radio-01.png + + diff --git a/homescreen/qml/images/Status/HMI_Status_Bluetooth_Inactive-01.png b/homescreen/qml/images/Status/HMI_Status_Bluetooth_Inactive-01.png new file mode 100644 index 0000000..10bd5a5 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Bluetooth_Inactive-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Bluetooth_On-01.png b/homescreen/qml/images/Status/HMI_Status_Bluetooth_On-01.png new file mode 100644 index 0000000..1ff96e1 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Bluetooth_On-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Signal_1Bars-01.png b/homescreen/qml/images/Status/HMI_Status_Signal_1Bars-01.png new file mode 100644 index 0000000..44ef700 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Signal_1Bars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Signal_2Bars-01.png b/homescreen/qml/images/Status/HMI_Status_Signal_2Bars-01.png new file mode 100644 index 0000000..fe4e776 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Signal_2Bars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Signal_3Bars-01.png b/homescreen/qml/images/Status/HMI_Status_Signal_3Bars-01.png new file mode 100644 index 0000000..892c6ec Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Signal_3Bars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Signal_4Bars-01.png b/homescreen/qml/images/Status/HMI_Status_Signal_4Bars-01.png new file mode 100644 index 0000000..f4f033b Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Signal_4Bars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Signal_Full-01.png b/homescreen/qml/images/Status/HMI_Status_Signal_Full-01.png new file mode 100644 index 0000000..18070b9 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Signal_Full-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Signal_NoBars-01.png b/homescreen/qml/images/Status/HMI_Status_Signal_NoBars-01.png new file mode 100644 index 0000000..1b77207 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Signal_NoBars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Wifi_1Bar-01.png b/homescreen/qml/images/Status/HMI_Status_Wifi_1Bar-01.png new file mode 100644 index 0000000..c72461f Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Wifi_1Bar-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Wifi_2Bars-01.png b/homescreen/qml/images/Status/HMI_Status_Wifi_2Bars-01.png new file mode 100644 index 0000000..448dd36 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Wifi_2Bars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Wifi_3Bars-01.png b/homescreen/qml/images/Status/HMI_Status_Wifi_3Bars-01.png new file mode 100644 index 0000000..3e407ad Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Wifi_3Bars-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Wifi_Full-01.png b/homescreen/qml/images/Status/HMI_Status_Wifi_Full-01.png new file mode 100644 index 0000000..6f95e97 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Wifi_Full-01.png differ diff --git a/homescreen/qml/images/Status/HMI_Status_Wifi_NoBars-01.png b/homescreen/qml/images/Status/HMI_Status_Wifi_NoBars-01.png new file mode 100644 index 0000000..07f4f09 Binary files /dev/null and b/homescreen/qml/images/Status/HMI_Status_Wifi_NoBars-01.png differ diff --git a/homescreen/qml/images/Status/status.qrc b/homescreen/qml/images/Status/status.qrc new file mode 100644 index 0000000..d29c91a --- /dev/null +++ b/homescreen/qml/images/Status/status.qrc @@ -0,0 +1,17 @@ + + + HMI_Status_Wifi_NoBars-01.png + HMI_Status_Bluetooth_Inactive-01.png + HMI_Status_Bluetooth_On-01.png + HMI_Status_Signal_1Bars-01.png + HMI_Status_Signal_2Bars-01.png + HMI_Status_Signal_3Bars-01.png + HMI_Status_Signal_4Bars-01.png + HMI_Status_Signal_Full-01.png + HMI_Status_Signal_NoBars-01.png + HMI_Status_Wifi_1Bar-01.png + HMI_Status_Wifi_2Bars-01.png + HMI_Status_Wifi_3Bars-01.png + HMI_Status_Wifi_Full-01.png + + diff --git a/homescreen/qml/images/TopSection_NoText_NoIcons-01.png b/homescreen/qml/images/TopSection_NoText_NoIcons-01.png new file mode 100644 index 0000000..cf9ec4e Binary files /dev/null and b/homescreen/qml/images/TopSection_NoText_NoIcons-01.png differ diff --git a/homescreen/qml/images/Utility_Logo_Background-01.png b/homescreen/qml/images/Utility_Logo_Background-01.png new file mode 100644 index 0000000..21a602d Binary files /dev/null and b/homescreen/qml/images/Utility_Logo_Background-01.png differ diff --git a/homescreen/qml/images/Utility_Logo_Colour-01.png b/homescreen/qml/images/Utility_Logo_Colour-01.png new file mode 100644 index 0000000..6519a2d Binary files /dev/null and b/homescreen/qml/images/Utility_Logo_Colour-01.png differ diff --git a/homescreen/qml/images/Utility_Music_Background-01.png b/homescreen/qml/images/Utility_Music_Background-01.png new file mode 100644 index 0000000..c3e9f91 Binary files /dev/null and b/homescreen/qml/images/Utility_Music_Background-01.png differ diff --git a/homescreen/qml/images/Utility_Radio_Background-01.png b/homescreen/qml/images/Utility_Radio_Background-01.png new file mode 100644 index 0000000..b755843 Binary files /dev/null and b/homescreen/qml/images/Utility_Radio_Background-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_ALL-01.png b/homescreen/qml/images/Weather/WeatherIcons_ALL-01.png new file mode 100644 index 0000000..f5f8b19 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_ALL-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_Cloudy-01.png b/homescreen/qml/images/Weather/WeatherIcons_Cloudy-01.png new file mode 100644 index 0000000..3603a55 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_Cloudy-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_Moon-01.png b/homescreen/qml/images/Weather/WeatherIcons_Moon-01.png new file mode 100644 index 0000000..8fe1e18 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_Moon-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_PartiallyCloudy-01.png b/homescreen/qml/images/Weather/WeatherIcons_PartiallyCloudy-01.png new file mode 100644 index 0000000..09cd84f Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_PartiallyCloudy-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_Rain-01.png b/homescreen/qml/images/Weather/WeatherIcons_Rain-01.png new file mode 100644 index 0000000..125b413 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_Rain-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_Snow-01.png b/homescreen/qml/images/Weather/WeatherIcons_Snow-01.png new file mode 100644 index 0000000..d0a9520 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_Snow-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_Sun-01.png b/homescreen/qml/images/Weather/WeatherIcons_Sun-01.png new file mode 100644 index 0000000..ee3a744 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_Sun-01.png differ diff --git a/homescreen/qml/images/Weather/WeatherIcons_Thunderstorm-01.png b/homescreen/qml/images/Weather/WeatherIcons_Thunderstorm-01.png new file mode 100644 index 0000000..f6959f4 Binary files /dev/null and b/homescreen/qml/images/Weather/WeatherIcons_Thunderstorm-01.png differ diff --git a/homescreen/qml/images/Weather/weather.qrc b/homescreen/qml/images/Weather/weather.qrc new file mode 100644 index 0000000..2668fec --- /dev/null +++ b/homescreen/qml/images/Weather/weather.qrc @@ -0,0 +1,12 @@ + + + WeatherIcons_ALL-01.png + WeatherIcons_Cloudy-01.png + WeatherIcons_Moon-01.png + WeatherIcons_PartiallyCloudy-01.png + WeatherIcons_Rain-01.png + WeatherIcons_Snow-01.png + WeatherIcons_Sun-01.png + WeatherIcons_Thunderstorm-01.png + + diff --git a/homescreen/qml/images/images.qrc b/homescreen/qml/images/images.qrc new file mode 100644 index 0000000..2d8e902 --- /dev/null +++ b/homescreen/qml/images/images.qrc @@ -0,0 +1,10 @@ + + + TopSection_NoText_NoIcons-01.png + Utility_Logo_Background-01.png + Utility_Logo_Colour-01.png + Utility_Music_Background-01.png + Utility_Radio_Background-01.png + AGL_HMI_Background_NoCar-01.png + + diff --git a/homescreen/qml/main.qml b/homescreen/qml/main.qml new file mode 100644 index 0000000..11bd9d5 --- /dev/null +++ b/homescreen/qml/main.qml @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2016 The Qt Company Ltd. + * 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. + * 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.Window 2.1 +import QtQuick.Layouts 1.1 +import HomeScreen 1.0 + +Window { + visible: true + flags: Qt.FramelessWindowHint + width: container.width * container.scale + height: container.height * container.scale + title: 'HomeScreen' + + ApplicationLauncher { + id: launcher + } + + Image { + id: container + anchors.centerIn: parent + width: 1080 + height: 1920 + scale: 1.0 + 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 + + visible: false + } + + Home { + id: appLauncherAreaLauncher + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 1920 - 218 - 215 + visible: true + } + + MediaArea { + id: mediaArea + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredHeight: 215 + } + } + } +} diff --git a/homescreen/qml/qml.qrc b/homescreen/qml/qml.qrc new file mode 100644 index 0000000..c25e266 --- /dev/null +++ b/homescreen/qml/qml.qrc @@ -0,0 +1,15 @@ + + + Home.qml + main.qml + MediaArea.qml + MediaAreaBlank.qml + MediaAreaMusic.qml + MediaAreaRadio.qml + ShortcutArea.qml + ShortcutIcon.qml + StatusArea.qml + TopArea.qml + IconItem.qml + + -- cgit 1.2.3-korg