2 * Copyright (C) 2016 The Qt Company Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 import QtQuick.Layouts 1.1
19 import QtQuick.Controls 1.0
25 signal languageChanged
29 anchors.topMargin: -218
30 anchors.bottomMargin: -215
31 source: './images/AGL_HMI_Background_Car-01.png'
37 anchors.horizontalCenter: parent.horizontalCenter
38 anchors.top: parent.top
40 source: './images/B14-90.png'
45 anchors.horizontalCenter: parent.horizontalCenter
46 anchors.bottom: parent.bottom
47 anchors.bottomMargin: 40
51 anchors.centerIn: parent
56 SequentialAnimation on font.letterSpacing {
59 NumberAnimation { from: 0; to: 50; easing.type: Easing.InQuad; duration: 3000 }
68 SequentialAnimation on opacity {
71 NumberAnimation { from: 1; to: 0; duration: 2600 }
72 PauseAnimation { duration: 400 }
76 function showHello(helloString) {
77 helloText.text = helloString
78 animation1.running = true;
79 animation2.running = true;
82 function showSign90(show) {
87 anchors.centerIn: parent
89 height: cellHeight * 3
93 model: ApplicationModel {}
99 source: './images/HMI_AppLauncher_%1_%2-01.png'.arg(model.icon).arg(pressed ? 'Active' : 'Inactive')
102 anchors.horizontalCenter: parent.horizontalCenter
103 horizontalAlignment: Text.AlignHCenter
106 font.family: "Roboto"
108 text: '%1'.arg(model.name)
109 function myChangeLanguage() {
110 text = '%1'.arg(model.name)
112 Component.onCompleted: {
113 root.languageChanged.connect(myChangeLanguage)
118 console.log("app is ", model.id)
119 pid = launcher.launch(model.id)
120 layoutHandler.makeMeVisible(pid)
122 applicationArea.visible = true
123 appLauncherAreaLauncher.visible = false
124 layoutHandler.showAppLayer()