2024-10-15 21:26:12 +02:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
2021-09-28 18:04:06 +03:00
|
|
|
|
|
|
|
import utils 1.0
|
2021-10-12 20:26:02 +02:00
|
|
|
|
2024-10-15 21:26:12 +02:00
|
|
|
import StatusQ.Core.Theme 0.1
|
2021-10-20 14:23:58 +02:00
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
|
2021-10-28 00:27:49 +03:00
|
|
|
import shared.panels 1.0
|
|
|
|
import shared.popups 1.0
|
2020-06-12 16:47:44 -04:00
|
|
|
|
2021-10-14 13:33:34 +02:00
|
|
|
// TODO: replace with StatusModal
|
2020-06-12 16:47:44 -04:00
|
|
|
ModalPopup {
|
|
|
|
id: popup
|
2022-04-04 13:26:30 +02:00
|
|
|
title: qsTr("Enter seed phrase")
|
2020-06-12 16:47:44 -04:00
|
|
|
height: 200
|
2022-03-16 00:27:36 +02:00
|
|
|
signal openModalClicked()
|
2020-06-12 16:47:44 -04:00
|
|
|
|
2020-06-19 14:06:58 -04:00
|
|
|
StyledText {
|
2022-07-19 10:34:27 +02:00
|
|
|
text: qsTr("Do you want to add another existing key?")
|
2020-06-12 16:47:44 -04:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
}
|
|
|
|
|
2021-01-28 12:04:10 +01:00
|
|
|
footer: StatusButton {
|
2020-06-12 16:47:44 -04:00
|
|
|
anchors.bottom: parent.bottom
|
2024-10-15 21:26:12 +02:00
|
|
|
anchors.topMargin: Theme.padding
|
2020-06-12 16:47:44 -04:00
|
|
|
anchors.right: parent.right
|
2024-10-15 21:26:12 +02:00
|
|
|
anchors.rightMargin: Theme.padding
|
2022-07-19 10:34:27 +02:00
|
|
|
text: qsTr("Add another existing key")
|
2020-06-12 16:47:44 -04:00
|
|
|
|
|
|
|
onClicked : {
|
2022-03-16 00:27:36 +02:00
|
|
|
openModalClicked()
|
2020-06-12 16:47:44 -04:00
|
|
|
popup.close()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|