summaryrefstree
path: root/usr/bin/qml/Setting/Setting_InternetPop.qml
blob: 82d2ddd3776b1e5db1e87713de51b6dc59cf63b5 (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
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

HMIMask
{
    id:internetPop
 //add by plc for #321206
    widowsType:Layout.POP_TYPE
    formId:WindowsList.SETTING_INTERNETPOP
    property bool completeFlag:false

    onVisibleChanged:
    {
        if(internetPop.visible == true)
        {
            if(completeFlag)
            {
                systemCtrl.setGestureShieldState(Layout.GESTURE_POP,Layout.POP_ALL_NOT_AVAILABLE)
            }
        }
        else
        {
            if(completeFlag)
            {
                systemCtrl.setGestureShieldState(Layout.GESTURE_POP,Layout.POP_ALL_AVAILABLE)
            }
            else
            {
                completeFlag = true;
            }
        }
    }
    x:0
    y:0
    width: 960
    height: 1280


    HMIMouseArea
    {
        anchors.fill: parent
        bBeep:false
    }

    HMILoading
    {
        id:loading
        x:451
        y:611
        width: 58
        height: 58
    }
}