linux.x86.linphone/Linphone/view/Page/Layout/Settings/MeetingsSettingsLayout.qml
data 3b3bb966d4 Add ringtone selection dropdown and various bugfixes
- 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>
2026-02-08 08:31:15 +01:00

59 lines
1.5 KiB
QML
Executable file
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls.Basic as Control
import SettingsCpp 1.0
import UtilsCpp
import Linphone
import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
AbstractSettingsLayout {
id: mainItem
width: parent?.width
contentModel: [
{
//: "Affichage"
title: qsTr("settings_meetings_display_title"),
subTitle: "",
contentComponent: confDisplayParametersComponent,
hideTopMargin: true
}
]
onSave: {
SettingsCpp.save()
}
onUndo: SettingsCpp.undo()
Component {
id: confDisplayParametersComponent
ColumnLayout {
spacing: Utils.getSizeWithScreenRatio(5)
Text {
//: "Mode daffichage par défaut"
text: qsTr("settings_meetings_default_layout_title")
font {
pixelSize: Typography.p2l.pixelSize
weight: Typography.p2l.weight
}
}
Text {
//: "Le mode daffichage des participants en réunions"
text: qsTr("settings_meetings_default_layout_subtitle")
font {
pixelSize: Typography.p1.pixelSize
weight: Typography.p1.weight
}
}
ComboSetting {
Layout.fillWidth: true
Layout.topMargin: Utils.getSizeWithScreenRatio(12)
Layout.preferredWidth: parent.width
entries: SettingsCpp.conferenceLayouts
propertyName: "conferenceLayout"
propertyOwner: SettingsCpp
textRole: 'display_name'
}
}
}
}