blob: fd7e1a6976b29bfe35581d8cabb5ba9b9c76c559 (
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
99
100
101
|
import QtQuick 2.0
import "../com/neusoft/auto/widgets"
import "coordinate.js" as CONFIG
import "../windowsList.js" as WindowsList
import "../layoutList.js" as Layout
Item {
width: 769
height: 1024
x:0
id:cannotSavePopup
onVisibleChanged:
{
console.log("[cannotSavePopup][onVisibleChanged][cannotSavePopup.visible]-->" + cannotSavePopup.visible)
}
HMIMouseArea{
y:125
width:769
height:1024
propagateComposedEvents:false
onClicked: {
console.log("[HMI][cannotSavePopup]other Area clicked")
}
}
Image
{
id: asel_popup
//source: "../images/Type_O_Popup/O_03/O_03_Popup_Background.png"
width:769
height:1024
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
HMILabel
{
id: popup
x:0
y:0
height: 50
width:parent.width
anchors.horizontalCenter: parent.horizontalCenter
text:qsTr("Prompt") + systemCtrl.emptyString
font.pixelSize: 25
color:CONFIG.POPUP_FONT_COLOR
}
HMILabel
{
anchors.horizontalCenter: parent.horizontalCenter
x:0
y:50
width: parent.width
height: 150
text: qsTr("the event can not be save, remind time ealier than now") + systemCtrl.emptyString
font.pixelSize: CONFIG.POPUP_HINT_FONT_SIZE
color:CONFIG.POPUP_FONT_COLOR
}
//关闭
HMIButton
{
id:knowBtn
x:CONFIG.POPUP_HINT_BTN_KNOW_XY[0]
y:CONFIG.POPUP_HINT_BTN_KNOW_XY[1]
btnImg: knowBtn.pressed ? "qrc:MATERIAL/MATERIAL_M8X_POPUP_BUTTON_PUSHED"+ bgImageStyle : "qrc:MATERIAL/MATERIAL_M8X_POPUP_BUTTON"+ bgImageStyle
HMILabel
{
id:lab_close
width: parent.width
height: parent.height
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: CONFIG.POPUP_BTN_FONT_SIZE
text:qsTr("Know") + systemCtrl.emptyString
color:CONFIG.POPUP_FONT_COLOR
}
onClicked:
{
console.log("[knowBtn][onClicked]-->")
// ScreenManager.hideOverlay(WindowsList.QUICKLINK)
}
}
}
/*========================================Function Start==============================================*/
// function getBandStr()
/*========================================Function End================================================*/
}
|