blob: ab456e6d506d41bdbe4f00353c25bcfef22e452e (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
import QtQuick 2.0
import Label 2.0//ADD #F0182 2017/02/03 baojinfeng begin
import "../com/neusoft/auto/widgets"
import "../windowsList.js" as WindowsList
import "../layoutList.js" as Layout
HMIMask
{
id:apssid_message
x:0
y:0//40
//width:960
//height:1050
widowsType:Layout.MESSAGE_TYPE
formId:WindowsList.SETTING_APSSID_MESSAGE
Component.onCompleted:
{
//windowID = WindowsList.SETTING_APSSID_MESSAGE//FOD #126239 2106/11/30 BAOJINFENG begin
}
onVisibleChanged:
{
if(apssid_message.visible == true)
{
//FOD #126239 2106/12/05 BAOJINFENG begin
// if(screenShotSwt == true)
// {
// //do nothing
// }
// else
// {
messggeTimer.start()
// }
//FOD #126239 2106/12/05 BAOJINFENG begin
}
else
{
messggeTimer.stop()
}
}
Image
{
//FOD 2106/10/26 BAOJINFENG begin
id: im_itemBackground
x:58
y:419
width:844
height:352
source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
//FOD 2106/10/26 BAOJINFENG END
HMIMouseArea
{
anchors.fill: parent
bBeep:false
onClicked:
{
ScreenManager.hideOverlay(WindowsList.SETTING_APSSID_MESSAGE)
}
}
}
HMILabel
{
id:label_text
x:120
y:575//580-5//480//FOD #F0182 2017/02/03 baojinfeng begin
width:720
height:40//134 //Fod #F0145 2017/1/6 liuming end
text:qsTr("The name should contain 3-15 characters") + systemCtrl.emptyString
font.pixelSize:30
//DEL #F0192 2017/2/6 BAOJINFENG begin
//horizontalAlignment: Text.AlignHCenter
//verticalAlignment: Text.AlignVCenter//FOD 2106/10/26 BAOJINFENG begin //Fod #F0145 2017/1/6 liuming end
//DEL #F0192 2017/2/6 BAOJINFENG end
}
Timer
{
id:messggeTimer
interval: 3000
running: false
repeat: false
onTriggered:
{
ScreenManager.hideOverlay(WindowsList.SETTING_APSSID_MESSAGE)
}
}
}
|