UTPassMirror/qml/Main.qml
2019-03-22 00:11:36 +01:00

30 lines
655 B
QML

import QtQuick 2.4
import QtQuick.Layouts 1.1
import Ubuntu.Components 1.3
import Gpg 1.0
import "components"
MainView {
id: "root"
objectName: "mainView"
applicationName: "utpass.qrouland"
automaticOrientation: true
width: units.gu(45)
height: units.gu(75)
PageStack {
id: pageStack
anchors.fill: parent
Component.onCompleted: push(pageStack.push(
Qt.resolvedUrl(
"pages/PasswordList.qml")))
}
Component.onCompleted: {
Gpg.importKey("password-store/public.key")
Gpg.getAllKeysId()
}
}