summaryrefstree
path: root/usr/bin/qmldashboard/Bluetooth/PhoneInComingCall.qml
blob: f685a24fe1bfebe403fde4caabeaec1e5f94f946 (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
import QtQuick 2.0
import "../com/neusoft/auto/widgets"
import "../layoutList.js" as LayoutList
import "../windowsList.js" as WindowsList

import Label 2.0

HMICenterWindow{
    id: inComingCall_window
    color: "black"
    opacity: 0.8
    onVisibleChanged:
    {
        inComingGall_title.text = dashBTCtrl.getBTPincommingName()
    }

    Rectangle {
        id: inComingCall_window_bk
        anchors.fill: parent
        color: "black"
        opacity: 0.8

    }

    /* center */
    Image{
        id: onGoingCallwindow_hide
        x: 117 - 17
        y: 362 - 139
        width: 534
        height: 265
        source: "../images/Type_K_Phone/IncomingCall_BG.png"
        anchors.horizontalCenter: parent.horizontalCenter


        HMILabel {
            id: inComingGall_title
            x: 257 - 117
            y: 397 - 362 - 4
            width: 28 * 9
            height: 40
            color: "#3FA2EE"
            font.pixelSize: 28
            elide:Label.ElideRight
            text: ""
        }

        HMILabel {
            id: inComingGall_time
            x: 303 - 117
            y: 438 - 362
            width: 20 * 8
            height: 26
            font.pixelSize: 20
            color: "#e5e5e5"
            text: "is calling..."
        }

        Image{
            id: contactPhotoRect
            x: 328 - 117
            y: 472 - 362
            width: 110
            height: 110
            source: "../images/Type_K_Phone/Phone_Contacts110Dot_Default.png"
        }
    }
    Connections
    {
        target: dashBTCtrl
        onBtpincommingNameChange:
        {
            console.log("incoming onBtpDialInfoNameChange")
            inComingGall_title.text = text
        }
    }
}