linphone-desktop/Linphone/view/Page/Layout/Settings/NetworkSettingsLayout.qml
Alexandre Jörgensen c73eea248f Format QML files
2026-03-10 12:32:35 +01:00

37 lines
743 B
QML

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls.Basic as Control
import SettingsCpp 1.0
import Linphone
import UtilsCpp
import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
AbstractSettingsLayout {
width: parent?.width
contentModel: [
{
//: "Réseau"
title: qsTr("settings_network_title"),
subTitle: "",
contentComponent: content
}
]
onSave: {
SettingsCpp.save();
}
onUndo: SettingsCpp.undo()
Component {
id: content
ColumnLayout {
spacing: Utils.getSizeWithScreenRatio(40)
SwitchSetting {
Layout.fillWidth: true
//: "Autoriser l'IPv6"
titleText: qsTr("settings_network_allow_ipv6")
propertyName: "ipv6Enabled"
propertyOwner: SettingsCpp
}
}
}
}