mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
37 lines
799 B
QML
37 lines
799 B
QML
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Basic as Control
|
|
import SettingsCpp 1.0
|
|
import Linphone
|
|
import UtilsCpp
|
|
|
|
AbstractSettingsLayout {
|
|
width: parent?.width
|
|
contentModel: [
|
|
{
|
|
title: "",
|
|
subTitle: "",
|
|
contentComponent: content
|
|
}
|
|
]
|
|
onSave: {
|
|
SettingsCpp.save()
|
|
}
|
|
onUndo: SettingsCpp.undo()
|
|
|
|
Component {
|
|
id: content
|
|
ColumnLayout {
|
|
spacing: Math.round(40 * DefaultStyle.dp)
|
|
SwitchSetting {
|
|
//: "Chiffrer tous les fichiers"
|
|
titleText: qsTr("settings_security_enable_vfs_title")
|
|
//: "Attention, vous ne pourrez pas revenir en arrière !"
|
|
subTitleText: qsTr("settings_security_enable_vfs_subtitle")
|
|
propertyName: "vfsEnabled"
|
|
propertyOwner: SettingsCpp
|
|
}
|
|
}
|
|
}
|
|
}
|