linux.x86.linphone/Linphone/view/Item/Call/OngoingCallRightPanel.qml
Gaelle Braud c588688197 FIXES:
correctly initialize remote params + create video call
paused call ui
calls window
simplify carousel
effect image : don't show effect if no colorization
use our custom button instead of qtquick one
image buttons size
security page ui
update right panel on call history deleted
2024-02-14 16:02:43 +01:00

59 lines
1.2 KiB
QML

import QtQuick 2.7
import QtQuick.Layouts
import QtQuick.Controls as Control
import Linphone
Control.Page {
id: mainItem
property alias headerContent: header.children
background: Rectangle {
width: mainItem.width
height: mainItem.height
color: DefaultStyle.grey_100
radius: 15 * DefaultStyle.dp
}
header: Control.Control {
id: pageHeader
width: mainItem.width
background: Rectangle {
id: headerBackground
width: pageHeader.width
height: pageHeader.height
color: DefaultStyle.grey_0
radius: 15 * DefaultStyle.dp
Rectangle {
y: pageHeader.height/2
height: pageHeader.height/2
width: pageHeader.width
}
}
contentItem: RowLayout {
width: pageHeader.width
height: pageHeader.height
anchors.leftMargin: 10 * DefaultStyle.dp
anchors.left: pageHeader.left
Item {
id: header
}
Item {
Layout.fillWidth: true
}
Button {
id: closeButton
Layout.alignment: Qt.AlignRight
background: Item {
visible: false
}
icon.source: AppIcons.closeX
Layout.preferredWidth: 10 * DefaultStyle.dp
Layout.preferredHeight: 10 * DefaultStyle.dp
width: 10 * DefaultStyle.dp
height: 10 * DefaultStyle.dp
onClicked: mainItem.visible = false
}
}
}
}