summaryrefstree
path: root/usr/bin/qml/Bluetooth/BTphone/BTP_Recent_DownLoad.qml
blob: f589962f4f135ee8cb922aa97070dbef3dd07ba4 (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
129
130
131
132
133
134
135
import QtQuick 2.0
import "../../eventsList.js" as EventsList
import "../../com/neusoft/auto/widgets"
import "../../layoutList.js" as Layout
import "../../windowsList.js" as WindowsList
import "../../Setting/Settinglist.js" as Settinglist
import Label 2.0

HMIMask
{
    id:callLogLoadSta
    //FOD 2018/11/06 by wyc begin
    //widowsType:btCtrl.btCallLogDownIsFailStatus?Layout.MESSAGE_TYPE:Layout.MESSAGE_BACKSTAGE_TYPE
    widowsType:btCtrl.btCallLogDownIsFailStatus?Layout.MESSAGE_TYPE:Layout.POP_TYPE
    //FOD 2018/11/06 by wyc end
    formId:WindowsList.BTP_RECENT_DOWNLOAD
    property string bgImageStyle: systemCtrl.style
//ADD By qu-shh for auto display off start    
    property bool display_flag:false
//ADD By qu-shh for auto display off end
    
    onVisibleChanged:
    {
//        if((visible == false)&&(true == btCtrl.btCallLogDownIsFailStatus))
//        {
//            console.log("recent qml:callLogLoadSta***********************btCtrl.setBtPhonePopTimerStop()*************")
//            btCtrl.setBtCallLogLoadPopTimerStop()
//        }
//ADD By qu-shh for auto display off start
        if( true == visible)
        {
            if(!display_flag)
            {
                systemCtrl.auto_Displayoff_Shield()
                display_flag = true
            }
        }
        else
        {
            if(display_flag)
            {
                systemCtrl.auto_Displayoff_Unshield()
                display_flag = false
            }       
        }
//ADD By qu-shh for auto display off end
    }
    //FOD 2019/05/30 by wyc begin
    Item {
        id: message_item
        visible: btCtrl.btCallLogDownIsFailStatus
        anchors.fill: parent
        Image
        {
            //FOD 2018/10/10 by wyc begin
            //Fod #F0065 2016/10/26 wangshuang begin
            x:0//58
            y:395//317//419
            width:960//844
            height:400//556//352
            //anchors.centerIn: parent
            //source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
            source:"qrc:MATERIAL/MATERIAL_MESSAGE_BG_H400"+bgImageStyle
        //FOD 2018/10/10 by wyc end
        }
        HMILabel
        {
           //Fod #F0148 2017/1/7 wangshuang begin
           //FOD 2018/10/10 by wyc begin
            x: 120
            y: 576//612//580//483
            width: 720//600
            height: 38//30//38
            //FOD 2018/10/10 by wyc end
            //anchors.fill: parent
            //Fod #F0065 2016/10/26 wangshuang end
            font.pixelSize: 30//28
            //Fod #F0148 2017/1/7 wangshuang end
            anchors.horizontalCenter: parent.horizontalCenter
            text: btCtrl.btCallLogTextState
        }
    }
    Item {
        id: pop_item
        visible: !btCtrl.btCallLogDownIsFailStatus
        anchors.fill: parent
        Image
        {
            //FOD 2018/10/10 by wyc begin
            //Fod #F0065 2016/10/26 wangshuang begin
            x:0//58
            y:317//419
            width:960//844
            height:556//352
            //anchors.centerIn: parent
            //source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
            source:"qrc:MATERIAL/MATERIAL_POPUP_BG_H556"+bgImageStyle
            //ADD #F0123 2016/12/08 wangshuang begin
            HMILoading
            {
                id:img_Loading
                //Fod #F185 2017/02/06 wangshuang begin
                x: 450//382//440-58
                y: 203//62//481-419
                //Fod #F185 2017/02/06 wangshuang end
                visible: !btCtrl.btCallLogDownIsFailStatus    //ADD 19/1/30 by wyc FOR 319810
                width: 60//80
                height: 60//80
            }
            //FOD 2018/10/10 by wyc end
            //ADD #F0123 2016/12/08 wangshuang end
        }
        HMILabel
        {
            //FOD 2018/10/10 by wyc begin
            //Fod #F0148 2017/1/7 wangshuang begin
            //Fod #F0123 2016/12/08 wangshuang begin
            x: 120
            y: 612//612//632//584//483    //FOD 19/1/30 by wyc FOR 319810
            //Fod #F0123 2016/12/08 wangshuang end
            width: 720//600
            height: 38//30//38
        //FOD 2018/10/10 by wyc end
            //anchors.fill: parent
            //Fod #F0065 2016/10/26 wangshuang end
            font.pixelSize: 30//28
            //Fod #F0148 2017/1/7 wangshuang end
            anchors.horizontalCenter: parent.horizontalCenter
            //anchors.verticalCenter: parent.verticalCenter
            text: btCtrl.btCallLogTextState
        }
    }
    //FOD 2019/05/30 by wyc end
}