summaryrefstree
path: root/usr/bin/qml/OverLay/UserManual_NoData_Pop.qml
blob: 75685a969f155c245cc5404840d71bc0e8f724f0 (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
import QtQuick 2.0
import "../com/neusoft/auto/widgets"
import "../layoutList.js" as Layout
import "../windowsList.js" as WindowsList

HMIMask
{
    id:userManual_NoData_Pop
    property string bgImageStyle: systemCtrl.style
    widowsType:Layout.MESSAGE_TYPE
    formId:WindowsList.USERMANUAL_NODATA_POP
    onVisibleChanged:
    {
        if(visible == true)
        {//add by lqy
            settingCtrl.userManualTimerstart();
            console.log("\n [qml]warning-----------2222display_lastScreen 00 getFormZ="+ScreenManager.getFormZ(WindowsList.USERMANUAL_NODATA_POP))
            console.log("\n [qml]warning-----------2222display_lastScreen 11 getFormZ="+ScreenManager.getFormZ(WindowsList.HOME_STATE_BAR))
            //            closedatebase.start();
        }
        else
        {

        }
    }
    Item
    {
        id:item
        x:58
        y:419
        width: 844
        height: 352

        Image
        {
            id: img_itemBackground
            anchors.fill: parent
            source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
        }
        HMILabel
        {
            id: nodatebase
            //modify by Jiyulong for #210470 start 2017/10/12
            font.pixelSize: 30
            //modify by Jiyulong for #210470 end
            width: 844
            height: 352
            anchors.horizontalCenter: parent.horizontalCenter
            anchors.verticalCenter: parent.verticalCenter
            text:qsTr("No data, please update user manual")+systemCtrl.emptyString
            color:"white"

        }
        //del by lqy for 329502
//        HMIMouseArea
//        {
//            onClicked:
//            {
//                screenManager.hideOverlay(WindowsList.USERMANUAL_NODATA_POP)
//            }
//        }
        Connections
        {
            target: settingCtrl
            onHideusm:
            {
                ScreenManager.hideOverlay(WindowsList.USERMANUAL_NODATA_POP)
            }
        }

//        Timer
//        {
//            id:closedatebase
//            interval:4000// 2500//add by plc for #317982 start
//            running: false
//            repeat: false
//            onTriggered:
//            {console.log("lqy-----------")
//                ScreenManager.hideOverlay(WindowsList.USERMANUAL_NODATA_POP)
//            }
//        }
    }
}