blob: 52bfc9dae741a99caa75dee8bf9988ba4f9bfc8d (
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
|
import QtQuick 2.0
Item{
id:hmiLoadFailed
width: parent.width
height: parent.height
property string imagePath
property bool showBg : false
signal signal_refreshClick()
//全局遮罩背景
// Image{
// height: parent.height
// width: parent.width
// source: imagePath + "M8X_Mask_Full-screen.png"
// MouseArea{
// id: mapMouseArea
// anchors.fill: parent
// }
// }
//msg的背景图片
Image {
id: msg_bg
source:imagePath + "M8X_Popup_BG_1line_and_2line.png"
anchors.top: parent.top
anchors.topMargin: 280
anchors.horizontalCenter: parent.horizontalCenter
visible:showBg
}
HMILabel{
id:text
anchors.horizontalCenter:parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 320
font.pixelSize: 30
text: qsTr("获取失败,请点击重试") + applinkControl.qsEmptyString
color: "white"
clip:true
}
HMIButton{
id: refreshBtn
anchors.horizontalCenter:parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 441
btnImgOnPressed: imagePath +"Common/M8X_Popup_Button_p.png"
btnImg: imagePath+"Common/M8X_Popup_Button.png"
labelText: qsTr("重试") + applinkControl.qsEmptyString
labelPixelSize: 30
onClicked:{
signal_refreshClick()
}
}
}
|