summaryrefstree
path: root/usr/bin/qml/Bluetooth/BTmessage/BTM_DownLoad.qml
blob: 88b9b0120764f1d28fd326050b96491089d8a252 (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
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 Label 2.0
HMIMask
{
    id:loading_Msg

    widowsType:Layout.MESSAGE_BACKSTAGE_TYPE
    formId:WindowsList.BTM_DOWNLOAD
    property string bgImageStyle: systemCtrl.style
    Image
    {
        //Fod #F0065 2016/10/26 wangshuang begin
        x:58
        y:419
        width:844
        height:352
        //anchors.centerIn: parent
        source: "qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle
        //ADD #F0123 2016/12/08 wangshuang begin
        HMILoading
        {
            id:img_Loading
            x: 440-58
            y: 481-419
            width: 80
            height: 80
        }
        //ADD #F0123 2016/12/08 wangshuang end
    }
    HMILabel
    {
        //Fod #F0148 2017/1/7 wangshuang begin
        //Fod #F0123 2016/12/08 wangshuang begin
        y:632//584//483
        //Fod #F0123 2016/12/08 wangshuang end
        height: 38
        width:720//600
        font.pixelSize: 30//28
        //Fod #F0148 2017/1/7 wangshuang end
        //anchors.fill: parent
        //Fod #F0065 2016/10/26 wangshuang end
        anchors.horizontalCenter: parent.horizontalCenter
        //anchors.verticalCenter: Label.verticalCenter
        text: btCtrl.msgDownLoadTextState
    }
    Connections
    {
        target: btCtrl
        onBtMsg_DownLoadFail:
        {
//            console.debug("[BTM_DownLoad.qml]---------------------------onBtMsg_DownLoadFail")
            loading_Msg.widowsType = Layout.MESSAGE_TYPE
        }
    }
}