linphone-desktop/Linphone/view/Control/Container/Main/MainRightPanel.qml
gaelle ee6680b253 contact edition : add mouse area to loose focus when click outside sip address
force expand contact list when becomes visible

hide preview sticker when ringing
2025-04-15 17:31:02 +02:00

34 lines
782 B
QML

import QtQuick
import QtQuick.Effects
import QtQuick.Layouts
import QtQuick.Controls.Basic as Control
import Linphone
import UtilsCpp 1.0
ColumnLayout {
id: mainItem
property color panelColor: DefaultStyle.grey_100
property alias headerContent: rightPanelHeader.children
property alias content: rightPanelContent.children
spacing: 0
Rectangle {
id: rightPanelHeader
color: DefaultStyle.grey_0
Layout.preferredHeight: Math.round(57 * DefaultStyle.dp)
Layout.fillWidth: true
z: 1
}
Rectangle {
id: rightPanelContent
color: mainItem.panelColor
Layout.fillWidth: true
Layout.fillHeight: true
MouseArea {
anchors.fill: parent
onClicked: {
rightPanelContent.forceActiveFocus()
}
}
}
}