blob: c3204f4e0ba737e5d1b1235c5ed3c12dfd01b053 (
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
59
60
61
62
63
64
65
66
67
68
|
import QtQuick 2.0
import "../windowsList.js" as WindowsList
import "../com/neusoft/auto/widgets"
import "../layoutList.js" as LayoutList
HMIMask
{
id:aa_disconnection
x:0
y:0
widowsType: LayoutList.MESSAGE_TYPE
formId: WindowsList.AA_DISCONNECTION
timerFlag: true
property string style: systemCtrl.style
Component.onCompleted:
{
//
}
onVisibleChanged:
{
console.log("@ZLX**AA Disconnection **onVisibleChanged**aa_disconnection.visible=**"+aa_disconnection.visible)
if(aa_disconnection.visible == true)
{
disconnectiontimer.start()
}
else
{
disconnectiontimer.stop()
}
}
Image
{
id:mediavolume_bg
x:140
y:410
width:680
height:370
source:"qrc:MATERIAL/MATERIAL_SETTINGS_MEDIA-VOLUME_BG"+style
HMILabel
{
id:volumename
y:47
width:680
height:42
font.pixelSize: 30
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
text:qsTr("Android Auto has been disconnected") +systemCtrl.emptyString
}
}
Timer
{
id:disconnectiontimer
interval: 3000
running: false
repeat: false
onTriggered:
{
ScreenManager.hideOverlay(WindowsList.AA_DISCONNECTION);
}
}
}
|