2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
2020-06-12 20:47:44 +00:00
|
|
|
import "../../imports"
|
|
|
|
import "../../shared"
|
2021-01-28 11:04:10 +00:00
|
|
|
import "../../shared/status"
|
2020-06-12 20:47:44 +00:00
|
|
|
|
|
|
|
ModalPopup {
|
|
|
|
property var onOpenModalClick: function () {}
|
|
|
|
id: popup
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Enter seed phrase"
|
|
|
|
title: qsTrId("enter-seed-phrase")
|
2020-06-12 20:47:44 +00:00
|
|
|
height: 200
|
|
|
|
|
2020-06-19 18:06:58 +00:00
|
|
|
StyledText {
|
2020-06-12 20:47:44 +00:00
|
|
|
text: "Do you want to add another existing key?"
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
}
|
|
|
|
|
2021-01-28 11:04:10 +00:00
|
|
|
footer: StatusButton {
|
2020-06-12 20:47:44 +00:00
|
|
|
anchors.bottom: parent.bottom
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.topMargin: Style.current.padding
|
2020-06-12 20:47:44 +00:00
|
|
|
anchors.right: parent.right
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.rightMargin: Style.current.padding
|
2021-01-28 11:04:10 +00:00
|
|
|
text: "Add another existing key"
|
2020-06-12 20:47:44 +00:00
|
|
|
|
|
|
|
onClicked : {
|
|
|
|
onOpenModalClick()
|
|
|
|
popup.close()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;formeditorColor:"#ffffff";height:500;width:400}
|
|
|
|
}
|
|
|
|
##^##*/
|