status-desktop/ui/app/AppLayouts/Onboarding/views/GenKeyView.qml

40 lines
806 B
QML
Raw Normal View History

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