blob: f9294d338a1b0502e7541a9e91800a580c52169d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
import QtQuick 2.0
import Label 2.0
import "../com/neusoft/auto/widgets"
import "../windowsList.js" as WindowsList
import "../layoutList.js" as Layout
HMIMask
{
id:aa_firstconnection
x:0
y:0
widowsType:Layout.POP_TYPE
formId:WindowsList.AA_FIRSTCONNECTION
property string bgImageStyle: systemCtrl.style
Item
{
id:usb_popupitem
x:0
y:317
width: 960
height: 556
Image
{
id: aaimg_itemBackground
anchors.fill: parent
source: "qrc:MATERIAL/MATERIAL_POPUP_BG_H556"+bgImageStyle
HMILabel
{
id:aalabel_info
y:195
anchors.horizontalCenter: parent.horizontalCenter
width: 800
height: 70
text:qsTr("To use Android Auto, please stop your car and follow the instructions on your phone.")+systemCtrl.emptyString
horizontalAlignment:Label.AlignHCenter
font.pixelSize: 30
}
HMIButton{
id:usbbtn_ok
x:356
y:335
width:248
height:98
labelText:qsTr("OK")+systemCtrl.emptyString
labelSize:30
btnImg: usbbtn_ok.pressed?("qrc:MATERIAL/MATERIAL_POPUP_BUTTON_P"+bgImageStyle)
:("qrc:MATERIAL/MATERIAL_POPUP_BUTTON"+bgImageStyle)
onClicked:
{
ScreenManager.hideOverlay(WindowsList.AA_FIRSTCONNECTION);
}
}
}
}
}
|