summaryrefstree
path: root/usr/bin/qml/Navi/Navi_NoDateBase.qml
blob: 404600e3bda1c1e333d02830ac6187ceeecd8fc6 (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
import QtQuick 2.0
//import "../eventsList.js" as EventsList  //del #F0200 2017/02/06 xbw for xingnengyouhua
import "../com/neusoft/auto/widgets"
import "../layoutList.js" as Layout
import "../windowsList.js" as WindowsList

HMIMask
{
    id:navi_nodatebase
    property string bgImageStyle: systemCtrl.style
    widowsType:Layout.MESSAGE_TYPE
    formId:WindowsList.NAVI_NODATEBASE
    onVisibleChanged:
    {
        if(visible == true)
        {
            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")+systemCtrl.emptyString
            color:"white"

        }
        HMIMouseArea
        {
            onClicked:
            {
                screenManager.hideOverlay(WindowsList.NAVI_NODATEBASE)
            }
        }
        Timer
        {
            id:closedatebase
            interval: 2000
            running: false
            repeat: false
            onTriggered:
            {
                ScreenManager.hideOverlay(WindowsList.NAVI_NODATEBASE)
            }
        }
    }
}