This repository has been archived on 2024-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
UTPass/qml/pages/settings/Settings.qml

71 lines
2.0 KiB
QML
Raw Permalink Normal View History

2019-09-20 19:29:39 +00:00
import QtQuick 2.4
import Ubuntu.Components 1.3
import Pass 1.0
import "../headers"
import "../../components"
Page {
id: settingsPage
property string gpgKeyId: ""
header: StackHeader {
id: settingsHeader
title: i18n.tr('Settings')
}
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')
}
PageStackLink {
2019-10-07 15:59:55 +00:00
page: Qt.resolvedUrl("gpg/ImportKeyFile.qml")
2019-09-20 19:29:39 +00:00
text: i18n.tr('Import a GPG key file')
}
PageStackLink {
2019-10-07 15:59:55 +00:00
page: Qt.resolvedUrl("gpg/InfoKeys.qml")
2019-09-20 19:29:39 +00:00
text: i18n.tr('Show GPG keys')
}
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
width: parent.width
height: units.gu(4)
text: i18n.tr('Password Store')
}
PageStackLink {
2019-10-07 15:59:55 +00:00
page: Qt.resolvedUrl("passwordstore/ImportZip.qml")
2019-09-20 19:29:39 +00:00
text: i18n.tr('Import a Password Store Zip')
}
2019-10-07 15:59:55 +00:00
PageStackLink {
page: Qt.resolvedUrl("passwordstore/ImportGit.qml")
text: i18n.tr('Import a Password Store Git')
}
2019-09-20 19:29:39 +00:00
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
width: parent.width
height: units.gu(4)
color: UbuntuColors.red
text: i18n.tr(
'Warning: importing delete any exiting Password Store')
}
2019-10-07 15:59:55 +00:00
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
width: parent.width
height: units.gu(4)
text: i18n.tr('Git')
}
2019-09-20 19:29:39 +00:00
}
}