BackupSettings
This commit is contained in:
@@ -2,6 +2,8 @@ import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Dialogs
|
||||
import QtCore
|
||||
|
||||
|
||||
GridLayout
|
||||
{
|
||||
@@ -14,7 +16,6 @@ GridLayout
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
text: qsTr("Sicherung")
|
||||
font.pixelSize: 35
|
||||
|
||||
}
|
||||
|
||||
Label
|
||||
@@ -27,7 +28,7 @@ GridLayout
|
||||
{
|
||||
id: saveConfig
|
||||
text: qsTr("Jetzt sichern!")
|
||||
onClicked: settingsFileDialog.open()
|
||||
onClicked: dialog.open()
|
||||
}
|
||||
Label
|
||||
{
|
||||
@@ -38,7 +39,7 @@ GridLayout
|
||||
{
|
||||
id: saveEncryption
|
||||
text: qsTr("Jetzt sichern!")
|
||||
onClicked: recoverEnc.open()
|
||||
onClicked: apploader.item.recoverEnc.open()
|
||||
}
|
||||
Item
|
||||
{
|
||||
@@ -98,6 +99,12 @@ GridLayout
|
||||
{
|
||||
id: saveConfigFile
|
||||
fileMode: FileDialog.SaveFile
|
||||
|
||||
nameFilters: ["PYQCRM Recovery files (*.pyqrec)"]
|
||||
currentFolder: StandardPaths.standardLocations(StandardPaths.DocumentsLocation)[0]
|
||||
onAccepted:
|
||||
{
|
||||
var test = config.backupConfig(saveConfigFile.currentFile)
|
||||
console.log()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user