2
* Copyright 2012-2013 Canonical Ltd.
4
* This file is part of dialer-app.
6
* dialer-app is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 3.
10
* dialer-app is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
import Ubuntu.Components 0.1
21
import Ubuntu.Components.ListItems 0.1 as ListItem
22
import Ubuntu.Telephony 0.1
25
id: conferenceCallArea
27
property QtObject conference: null
33
UbuntuNumberAnimation { }
38
model: conference ? conference.calls : null
41
property QtObject callEntry: modelData
46
height: (conferenceCallArea.height - units.gu(repeater.count-1)) / (repeater.count > 0 ? repeater.count : 1)
53
backgroundIndicator: Rectangle {
65
rightMargin: units.gu(2)
72
verticalCenter: parent.verticalCenter
78
text: i18n.tr("Hangup")
79
verticalAlignment: Text.AlignVCenter
81
verticalCenter: parent.verticalCenter
89
onItemRemoved: callEntry.endCall()
92
color: callEntry.held ? "black" : "white"
107
phoneNumber: callEntry.phoneNumber
118
text: watcher.alias != "" ? watcher.alias : watcher.phoneNumber;
125
top: aliasLabel.bottom
128
text: callEntry.held ? i18n.tr("on hold") : i18n.tr("active")
132
text: i18n.tr("Private")
134
verticalCenter: parent.verticalCenter
136
rightMargin: units.gu(1)
138
visible: !callManager.backgroundCall
139
onClicked: callEntry.splitCall()