mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
feat(ui/views/App/Calls/Incall): remove sip address in this view
This commit is contained in:
parent
68ccd50f2f
commit
602993b435
2 changed files with 22 additions and 21 deletions
|
|
@ -62,6 +62,25 @@ Rectangle {
|
|||
Layout.rightMargin: CallStyle.header.rightMargin
|
||||
Layout.preferredHeight: CallStyle.header.contactDescription.height
|
||||
|
||||
Text {
|
||||
id: elapsedTime
|
||||
|
||||
anchors.bottom: parent.bottom
|
||||
color: CallStyle.header.elapsedTime.color
|
||||
font.pointSize: CallStyle.header.elapsedTime.pointSize
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
width: parent.width
|
||||
|
||||
Timer {
|
||||
interval: 1000
|
||||
repeat: true
|
||||
running: true
|
||||
triggeredOnStart: true
|
||||
|
||||
onTriggered: elapsedTime.text = Utils.formatElapsedTime(call.duration)
|
||||
}
|
||||
}
|
||||
|
||||
ActionBar {
|
||||
id: leftActions
|
||||
|
||||
|
|
@ -121,7 +140,7 @@ Rectangle {
|
|||
|
||||
anchors.centerIn: parent
|
||||
horizontalTextAlignment: Text.AlignHCenter
|
||||
sipAddress: _sipAddressObserver.sipAddress
|
||||
sipAddress: ''
|
||||
username: LinphoneUtils.getContactUsername(_sipAddressObserver.contact || sipAddress)
|
||||
|
||||
height: parent.height
|
||||
|
|
@ -167,24 +186,6 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
Text {
|
||||
id: elapsedTime
|
||||
|
||||
Layout.fillWidth: true
|
||||
color: CallStyle.header.elapsedTime.color
|
||||
font.pointSize: CallStyle.header.elapsedTime.pointSize
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
||||
Timer {
|
||||
interval: 1000
|
||||
repeat: true
|
||||
running: true
|
||||
triggeredOnStart: true
|
||||
|
||||
onTriggered: elapsedTime.text = Utils.formatElapsedTime(call.duration)
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Contact visual.
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ QtObject {
|
|||
}
|
||||
|
||||
property QtObject container: QtObject {
|
||||
property int margins: 20
|
||||
property int margins: 15
|
||||
|
||||
property QtObject avatar: QtObject {
|
||||
property color backgroundColor: Colors.w
|
||||
|
|
@ -63,7 +63,7 @@ QtObject {
|
|||
}
|
||||
|
||||
property QtObject contactDescription: QtObject {
|
||||
property int height: 60
|
||||
property int height: 50
|
||||
property int width: 150
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue