status-desktop/ui/onboarding/Login/ConfirmAddExistingKeyModal.qml

39 lines
860 B
QML
Raw Normal View History

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"
import "../../shared/status"
2020-06-12 20:47:44 +00:00
ModalPopup {
property var onOpenModalClick: function () {}
id: popup
//% "Enter seed phrase"
title: qsTrId("enter-seed-phrase")
2020-06-12 20:47:44 +00:00
height: 200
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
}
footer: StatusButton {
2020-06-12 20:47:44 +00:00
anchors.bottom: parent.bottom
anchors.topMargin: Style.current.padding
2020-06-12 20:47:44 +00:00
anchors.right: parent.right
anchors.rightMargin: Style.current.padding
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}
}
##^##*/