summaryrefstree
path: root/usr/bin/qml/Setting/Wireless_charging_Ignition.qml
blob: d49bb8d15767665a89766933b573a27689569459 (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
import QtQuick 2.0
import Label 2.0//FOD #F0192 2017/2/6 BAOJINFENG begin
import "../com/neusoft/auto/widgets"
import "../windowsList.js" as WindowsList
import "../layoutList.js" as Layout
import "../Setting/Settinglist.js" as Settinglist

HMIMask
{
    id:wireless_charging_Ignition
    x:0
    y:0//70
    width:960
    height:1050//1120//1280-160
    //color:"black"
    //opacity: 0.8
    widowsType: Layout.POP_TYPE
    formId: WindowsList.WIRELESS_CHARGING_IGNITION
    //property string bgImageStyle: systemCtrl.style//DEL #F0182 2017/02/03 baojinfeng begin
    property int iLanguage: systemCtrl.iLanguage

    //    HMIMouseArea
    //    {
    //        id:maskMouseArea
    //        bBeep:false
    //        anchors.fill: parent
    //        onPressed:
    //        {
    //            //do nothing
    //        }
    //    }

    //DEL #F0182 2017/02/03 baojinfeng begin
    //    onVisibleChanged:
    //    {
    //        if(wireless_charging_Ignition.visible == true)
    //        {
    //        }
    //    }
    //DEL #F0182 2017/02/03 baojinfeng end

    Image
    {
        id: im_itemBackground
        x:58
        y:419
        width:844
        height:352
        source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
    }
    Item
    {
        id: englishItem
        x: 120
        //fod F0182 liuming 20170206 begin
        //y: 492-5//480 //Fod #F0145 2017/1/5 liuming end
        y:487
        //fod F0182 liuming 20170206 end
        width:720
        height: 40//35 //Fod #F0145 2017/1/6 liuming end
        visible: iLanguage == Settinglist.LANGUAGE_ENGLISH? true:false
        HMILabel
        {
            id: tx_chn
            width:720
            height: 40//35 //Fod #F0145 2017/1/6 liuming end
            color: "#e1e1e1"
            text: qsTr("Please press start stop button again to set.")+ systemCtrl.emptyString
            font.pixelSize: 30
            //DEL #F0192 2017/2/6 BAOJINFENG begin
            //horizontalAlignment: Text.AlignHCenter
            //verticalAlignment: Text.AlignVCenter
            //DEL #F0192 2017/2/6 BAOJINFENG end
            //add 2016/11/24 liuming begin
            wtitesize:1
            //add 2016/11/24 liuming end
        }
    }
    Item
    {
        id:chineseItem
        x: 120
        //fod F0182 liuming 20170206 begin
        //y: 492-5//480 //Fod #F0145 2017/1/5 liuming end
        y:487
        //fod F0182 liuming 20170206 end
        width:720
        height: 40//35  //Fod #F0145 2017/1/6 liuming end
        visible: iLanguage == Settinglist.LANGUAGE_CHINESE? true:false
        HMILabel
        {
            id: tx_che
            width:720
            height: 40//35 //Fod #F0145 2017/1/6 liuming end
            color: "#e1e1e1"
            text: qsTr("请再次按下启动开关进行设置。")+ systemCtrl.emptyString
            font.pixelSize: 30
            //DEL #F0192 2017/2/6 BAOJINFENG begin
            //horizontalAlignment: Text.AlignHCenter
            //verticalAlignment: Text.AlignVCenter
            //DEL #F0192 2017/2/6 BAOJINFENG end
            //add 2016/11/24 liuming begin
            wtitesize:2
            //add 2016/11/24 liuming end
        }
    }
    HMIButton          //the button of NG
    {
        id:btn_ng
        x:390
        y:549
        width: 180
        height: 180
        btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_POPUP_BUTTON_START-UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BUTTON_START-UP"+bgImageStyle
        btnIcon:"qrc:MATERIAL/MATERIAL_M8X_ICON_START-UP"+bgImageStyle
        onClicked:
        {
            //btnImg="qrc:MATERIAL/MATERIAL_M8X_POPUP_BUTTON_START-UP"+bgImageStyle
            ScreenManager.hideOverlay(WindowsList.WIRELESS_CHARGING_IGNITION)
        }
    }
    //    Connections
    //    {
    //        //target:
    //    }
}