2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
2020-05-19 13:22:38 +00:00
|
|
|
|
2020-06-13 15:17:54 +00:00
|
|
|
Item {
|
|
|
|
property var onClosed: function () {}
|
|
|
|
id: genKeyView
|
2020-05-21 15:25:33 +00:00
|
|
|
anchors.fill: parent
|
|
|
|
|
2020-06-13 15:17:54 +00:00
|
|
|
Component.onCompleted: {
|
|
|
|
genKeyModal.open()
|
2020-05-21 15:25:33 +00:00
|
|
|
}
|
|
|
|
|
2020-06-13 15:17:54 +00:00
|
|
|
GenKeyModal {
|
|
|
|
property bool wentNext: false
|
|
|
|
id: genKeyModal
|
2021-10-12 13:48:09 +00:00
|
|
|
onNextClick: function (accId) {
|
2020-06-13 15:17:54 +00:00
|
|
|
wentNext = true
|
2021-10-12 13:48:09 +00:00
|
|
|
onboardingModule.setSelectedAccountId(accId)
|
2020-06-13 15:17:54 +00:00
|
|
|
createPasswordModal.open()
|
2020-05-19 13:22:38 +00:00
|
|
|
}
|
2020-06-13 15:17:54 +00:00
|
|
|
onClosed: function () {
|
|
|
|
if (!wentNext) {
|
|
|
|
genKeyView.onClosed()
|
2020-05-21 15:25:33 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-19 13:22:38 +00:00
|
|
|
}
|
|
|
|
|
2020-06-13 15:17:54 +00:00
|
|
|
CreatePasswordModal {
|
|
|
|
id: createPasswordModal
|
|
|
|
onClosed: function () {
|
2020-07-01 15:37:36 +00:00
|
|
|
genKeyView.onClosed()
|
2020-05-19 13:22:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-12 13:48:09 +00:00
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;autoSize:true;formeditorColor:"#ffffff";height:480;width:640}
|
|
|
|
}
|
|
|
|
##^##*/
|