summaryrefstree
path: root/usr/bin/qmldashboard/Bluetooth/PhoneOnGoingCall.qml
blob: 71898cb7f030916e2121b9c3d1491fb11a8a0a72 (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
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: onGoingCallwindow
    color: "black"
    opacity: 0.8
    onVisibleChanged:
    {
        onGoingGall_title.text = dashBTCtrl.getBTPDialInfoName()
    }

    Rectangle {
        id: onGoingCallwindow_bk
        anchors.fill: parent
        color: "black"
        opacity: 0.8
    }
    Rectangle{
        id:dialTop
        x: 117 - 17
        y: 382 -139

        width:534// 676
        height: 122//124
        color: "#00000000"
        anchors.horizontalCenter: parent.horizontalCenter

        Image
        {
            id:dialTop_bg
            anchors.fill: parent
            source:"../images/Type_K_Phone/Callkeypad_BG_U.png"
        }

        //Contact
        Image{
            id: contactPhotoRect
            x: 151-117
            y: 402-382
            width: 87
            height: 88
            source: "../images/Type_K_Phone/Phone_Contacts87Dot_Default.png"

        }
        Image {
            id: contactPhotoRect_line
            x: 151-117 - 20
            y: 402-382 + 65
            width: 140
            height: 30
            source: "../images/Type_K_Phone/Phone_keyboard_InputWindow.png"
        }
        //??
        HMILabel {
            id: onGoingGall_title
            x: 255-117
            y: 416 - 382
            width: 28 * 7
            height: 30
            horizontalAlignment: Label.AlignLeft
            font.pixelSize: 28
            elide:Label.ElideRight
            text: ""
            color: "#3FA2EE"

        }

        //ToneNumber
        HMILabel{
            id: numInput
            x: 255-117
            y: 416 - 382
            width: 28 * 7
            height: 28
            font.pixelSize: 28
            elide: Label.ElideLeft
            horizontalAlignment: Label.AlignLeft
            opacity: 0
            color: "#e5e5e5"
        }

        //??
        HMILabel {
            id: onGoingGall_time
            x: 256-117
            y: 461-382 - 6
            width: 24 * 6
            height: 32
            horizontalAlignment: Label.AlignLeft
            font.pixelSize: 24
            text: "calling..."
            color: "#e5e5e5"
        }
    }
    Connections
    {
        target: dashBTCtrl
        onBtpDialInfoNameChange:
        {
            console.log("ongoing onBtpDialInfoNameChange")
            onGoingGall_title.text = text
        }
        onBtpCalltimeChange:
        {
            console.log("ongoing onBtpCalltimeChange")
            onGoingGall_time.text = text
        }
    }
}