mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Hide action buttons while ending a call.
This commit is contained in:
parent
ed965d3ecb
commit
5d39c913a7
1 changed files with 4 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ Rectangle {
|
|||
property CallModel callModel // Store the call for processing calling.
|
||||
property bool previewLoaderEnabled: callModel ? callModel.videoEnabled : true
|
||||
property var _sipAddressObserver: callModel ? SipAddressesModel.getSipAddressObserver(callModel.fullPeerAddress, callModel.fullLocalAddress) : undefined
|
||||
property bool isEnding: callModel && callModel.status == CallModel.CallStatusEnded
|
||||
|
||||
signal cancel()
|
||||
|
||||
|
|
@ -60,7 +61,7 @@ Rectangle {
|
|||
Text{
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
text: mainItem.callModel
|
||||
? mainItem.callModel.status == CallModel.CallStatusEnded
|
||||
? mainItem.isEnding
|
||||
? "Ending call"
|
||||
: mainItem.callModel.isOutgoing
|
||||
? "Outgoing call"
|
||||
|
|
@ -209,7 +210,7 @@ Rectangle {
|
|||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.topMargin: 20
|
||||
Layout.bottomMargin: 15
|
||||
visible: mainItem.conferenceInfoModel
|
||||
visible: mainItem.conferenceInfoModel && !mainItem.isEnding
|
||||
|
||||
spacing: 30
|
||||
TextButtonA {
|
||||
|
|
@ -243,6 +244,7 @@ Rectangle {
|
|||
Layout.preferredHeight: actionsButtons.height
|
||||
Layout.bottomMargin: 30
|
||||
Layout.topMargin: 20
|
||||
visible: !mainItem.isEnding
|
||||
// Action buttons
|
||||
RowLayout{
|
||||
id: actionsButtons
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue