From 63ac8907ce6ab095b37858d6e96946b59ce1c13f Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Tue, 16 Jan 2018 20:11:40 +0000 Subject: [qt] receive tab: bech32 address opt-in checkbox When launched with -adresstype=legacy the checkbox will be hidden. --- src/qt/forms/receivecoinsdialog.ui | 121 +++++++++++++++++++++++++++---------- 1 file changed, 88 insertions(+), 33 deletions(-) (limited to 'src/qt/forms/receivecoinsdialog.ui') diff --git a/src/qt/forms/receivecoinsdialog.ui b/src/qt/forms/receivecoinsdialog.ui index 58f030ebf0..09fb435a58 100644 --- a/src/qt/forms/receivecoinsdialog.ui +++ b/src/qt/forms/receivecoinsdialog.ui @@ -7,7 +7,7 @@ 0 0 776 - 364 + 396 @@ -28,6 +28,22 @@ + + + + An optional amount to request. Leave this empty or zero to not request a specific amount. + + + &Amount: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + reqAmount + + + @@ -51,13 +67,6 @@ - - - - An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Bitcoin network. - - - @@ -81,32 +90,10 @@ - - - - An optional amount to request. Leave this empty or zero to not request a specific amount. - - - &Amount: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - reqAmount - - - - - - - - 80 - 0 - - + + - An optional amount to request. Leave this empty or zero to not request a specific amount. + An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Bitcoin network. @@ -174,6 +161,73 @@ + + + + + + + 0 + 0 + + + + + 80 + 0 + + + + + 1000 + 100 + + + + An optional amount to request. Leave this empty or zero to not request a specific amount. + + + + + + + + 0 + 0 + + + + + 1000 + 16777215 + + + + Qt::StrongFocus + + + Bech32 addresses (BIP-173) are cheaper to spend from and offer better protection against typos. When unchecked a P2SH wrapped SegWit address will be created, compatible with older wallets. + + + Generate Bech32 address + + + + + + + Qt::Horizontal + + + + 0 + 0 + + + + + + @@ -306,6 +360,7 @@ reqLabel reqAmount + useBech32 reqMessage receiveButton clearButton -- cgit v1.2.3