summaryrefstree
path: root/usr/bin/qml/Diag/DiagUpdate/Diag_updatemodelpair.qml
blob: a09f2a23c3da7d76c95fc32f57df8dd3ff6e2282 (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
import QtQuick 2.0
import Label 2.0
import "../../com/neusoft/auto/widgets"
import "../../windowsList.js" as WindowsList
import "../../layoutList.js" as Layout
import "../../Setting/Settinglist.js" as Settinglist

//add by plc for #317225 start
HMIMask
{
    id:defaulterror_message
    widowsType:Layout.POP_TYPE
    formId:WindowsList.DIAGUPDATEMODELPAIR
    property int iLanguage: systemCtrl.iLanguage
    onVisibleChanged:
    {
        if(visible == true)
        {
            closedatebase.start();
        }
        else
        {

        }
    }
    Item
    {

        id:item
        x:58
        y:419
        width: 844
        height: 352

        HMIMouseArea
        {
            anchors.fill: parent
            bBeep:false
            onClicked:
            {
                ScreenManager.hideOverlay(WindowsList.DIAGUPDATEMODELPAIR)
            }
        }
        Image
        {
            id: img_itemBackground
            anchors.fill: parent
            source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
        }
        HMILabel
        {
            id: tx_pop
            x:0// 58
            y:200//417
            width:844
            height: 200
            color: "#e1e1e1"
            text:qsTr("Vehicle type and software version configuration error!")+ systemCtrl.emptyString//FOD from customer 2017/06/21 baojinfeng end
            font.pixelSize: 30
            wtitesize:1
        }
        Timer
        {
            id:closedatebase
            interval:4000
            running: false
            repeat: false
            onTriggered:
            {
                ScreenManager.hideOverlay(WindowsList.DIAGUPDATEMODELPAIR)
            }
        }
    }
}