1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-01-27 00:56:38 +00:00
UTPass/qml/pages/settings/Settings.qml

74 lines
1.8 KiB
QML
Raw Normal View History

2025-01-10 15:28:42 +01:00
import "../../components"
import "../headers"
import Lomiri.Components 1.3
2019-09-20 21:29:39 +02:00
import Pass 1.0
2025-01-10 15:28:42 +01:00
import QtQuick 2.4
2019-09-20 21:29:39 +02:00
Page {
id: settingsPage
property string gpgKeyId: ""
Flow {
anchors.top: settingsHeader.bottom
anchors.bottom: parent.bottom
width: parent.width
spacing: 1
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
width: parent.width
height: units.gu(4)
text: i18n.tr('GPG')
color: theme.palette.normal.backgroundText
2019-09-20 21:29:39 +02:00
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
PageStackLink {
page: Qt.resolvedUrl("ImportKeyFile.qml")
text: i18n.tr('Import a GPG key file')
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
PageStackLink {
page: Qt.resolvedUrl("InfoKeys.qml")
text: i18n.tr('Show GPG keys')
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
width: parent.width
height: units.gu(4)
text: i18n.tr('Password Store')
color: theme.palette.normal.backgroundText
2019-09-20 21:29:39 +02:00
}
2025-01-10 15:28:42 +01:00
2025-01-10 13:48:38 +01:00
PageStackLink {
page: Qt.resolvedUrl("ImportGitClone.qml")
text: i18n.tr('Import a Password Store using Git')
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
PageStackLink {
page: Qt.resolvedUrl("ImportZip.qml")
text: i18n.tr('Import a Password Store Zip')
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
width: parent.width
height: units.gu(4)
color: LomiriColors.red
2025-01-10 15:28:42 +01:00
text: i18n.tr('Warning: importing delete any exiting Password Store')
2019-09-20 21:29:39 +02:00
}
2025-01-10 15:28:42 +01:00
}
header: StackHeader {
id: settingsHeader
title: i18n.tr('Settings')
2019-09-20 21:29:39 +02:00
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
}