mirror of
https://github.com/QRouland/UTPass.git
synced 2024-11-12 18:52:39 +00:00
30 lines
659 B
QML
30 lines
659 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.import_key("password-store/public.key")
|
|
Gpg.get_all_keys_id()
|
|
}
|
|
}
|