UTPassMirror/qml/Main.qml

30 lines
659 B
QML
Raw Normal View History

2019-03-13 18:38:12 +00:00
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Ubuntu.Components 1.3
2019-03-18 07:10:58 +00:00
import Gpg 1.0
2019-03-13 18:38:12 +00:00
2019-03-15 16:53:40 +00:00
import "components"
2019-03-13 18:38:12 +00:00
MainView {
id: "root"
2019-03-13 18:38:12 +00:00
objectName: "mainView"
applicationName: "utpass.qrouland"
2019-03-15 16:53:40 +00:00
2019-03-13 18:38:12 +00:00
automaticOrientation: true
width: units.gu(45)
height: units.gu(75)
2019-03-15 16:53:40 +00:00
PageStack {
id: pageStack
2019-03-13 18:38:12 +00:00
anchors.fill: parent
Component.onCompleted: push(pageStack.push(
Qt.resolvedUrl(
"pages/PasswordList.qml")))
}
Component.onCompleted: {
Gpg.import_key("password-store/public.key")
Gpg.get_all_keys_id()
2019-03-13 18:38:12 +00:00
}
}