mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-20 04:58:09 +00:00
35 lines
637 B
QML
35 lines
637 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: 40 * DefaultStyle.dp
|
|
SwitchSetting {
|
|
titleText: qsTr("Chiffrer tous les fichiers")
|
|
subTitleText: qsTr("Attention, vous ne pourrez pas revenir en arrière !")
|
|
propertyName: "vfsEnabled"
|
|
propertyOwner: SettingsCpp
|
|
}
|
|
}
|
|
}
|
|
}
|