|
|
|
|
@ -9,6 +9,10 @@ import "controls"
|
|
|
|
|
ElDialog { |
|
|
|
|
id: root |
|
|
|
|
|
|
|
|
|
title: Daemon.currentWallet.isWatchOnly |
|
|
|
|
? qsTr('Import additional addresses') |
|
|
|
|
: qsTr('Import additional keys') |
|
|
|
|
|
|
|
|
|
property bool valid: false |
|
|
|
|
|
|
|
|
|
modal: true |
|
|
|
|
@ -16,12 +20,11 @@ ElDialog {
|
|
|
|
|
Overlay.modal: Rectangle { |
|
|
|
|
color: "#aa000000" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
width: parent.width |
|
|
|
|
height: parent.height |
|
|
|
|
|
|
|
|
|
title: Daemon.currentWallet.isWatchOnly |
|
|
|
|
? qsTr('Import additional addresses') |
|
|
|
|
: qsTr('Import additional keys') |
|
|
|
|
padding: 0 |
|
|
|
|
|
|
|
|
|
function verify(text) { |
|
|
|
|
if (Daemon.currentWallet.isWatchOnly) |
|
|
|
|
@ -38,8 +41,14 @@ ElDialog {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
|
width: parent.width |
|
|
|
|
height: parent.height |
|
|
|
|
anchors.fill: parent |
|
|
|
|
spacing: 0 |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
Layout.fillHeight: true |
|
|
|
|
Layout.leftMargin: constants.paddingLarge |
|
|
|
|
Layout.rightMargin: constants.paddingLarge |
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
|
text: Daemon.currentWallet.isWatchOnly |
|
|
|
|
@ -94,6 +103,7 @@ ElDialog {
|
|
|
|
|
Layout.preferredWidth: 1 |
|
|
|
|
Layout.fillHeight: true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
FlatButton { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
|