- Add ComboBox for ringtone selection in Call Settings - Convert MKV ringtones to WAV format (Linphone only supports WAV) - Fix ComboSetting to support dialPlan type for international prefix - Disable account devices feature to prevent API errors - Disable automatic update check on startup - Add ringtone fallback to default when custom file not found - Fix ringtone dropdown to not override setting on initialization Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
51 lines
1.5 KiB
QML
Executable file
51 lines
1.5 KiB
QML
Executable file
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Basic as Control
|
|
import QtQuick.Effects
|
|
|
|
import Linphone
|
|
import UtilsCpp
|
|
import SettingsCpp
|
|
|
|
CreationFormLayout {
|
|
id: mainItem
|
|
property bool groupCallVisible
|
|
property bool displayCurrentCalls: false
|
|
signal transferCallToAnotherRequested(CallGui dest)
|
|
|
|
//: Appel de groupe
|
|
startGroupButtonText: qsTr("call_start_group_call_title")
|
|
startGroupButtonVisible: !SettingsCpp.disableMeetingsFeature
|
|
|
|
topLayoutVisible: mainItem.displayCurrentCalls && callList.count > 0
|
|
topContent: [
|
|
Text {
|
|
visible: callList.count > 0
|
|
//: "Appels en cours"
|
|
text: qsTr("call_transfer_active_calls_label")
|
|
font {
|
|
pixelSize: Typography.h4.pixelSize
|
|
weight: Typography.h4.weight
|
|
}
|
|
},
|
|
Flickable {
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: callListBackground.height
|
|
Layout.maximumHeight: mainItem.height/2
|
|
contentHeight: callListBackground.height
|
|
contentWidth: width
|
|
RoundedPane {
|
|
id: callListBackground
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
contentItem: CallListView {
|
|
id: callList
|
|
isTransferList: true
|
|
onTransferCallToAnotherRequested: (dest) => {
|
|
mainItem.transferCallToAnotherRequested(dest)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|