6#include <qt/forms/ui_receiverequestdialog.h>
17#include <bitcoin-build-config.h>
53 ui->btnSaveAs->setEnabled(
false);
56 ui->btnSaveAs->hide();
64 ui->amount_tag->hide();
65 ui->amount_content->hide();
72 ui->label_tag->hide();
73 ui->label_content->hide();
79 ui->message_tag->hide();
80 ui->message_content->hide();
86 ui->wallet_tag->hide();
87 ui->wallet_content->hide();
92 connect(
ui->btnVerify, &QPushButton::clicked, [
this] {
93 model->displayAddress(info.address.toStdString());
static QString formatWithUnit(Unit unit, const CAmount &amount, bool plussign=false, SeparatorStyle separators=SeparatorStyle::STANDARD)
Format as string (with unit)
void displayUnitChanged(BitcoinUnit unit)
BitcoinUnit getDisplayUnit() const
ReceiveRequestDialog(QWidget *parent=nullptr)
void setModel(WalletModel *model)
Ui::ReceiveRequestDialog * ui
void setInfo(const SendCoinsRecipient &info)
void on_btnCopyAddress_clicked()
void on_btnCopyURI_clicked()
Interface to Bitcoin wallet from Qt view code.
interfaces::Wallet & wallet() const
OptionsModel * getOptionsModel() const
QString getWalletName() const
virtual bool hasExternalSigner()=0
Utility functions used by the Bitcoin Qt UI.
QString HtmlEscape(const QString &str, bool fMultiLine)
void handleCloseWindowShortcut(QWidget *w)
QString formatBitcoinURI(const SendCoinsRecipient &info)
constexpr auto dialog_flags
void setClipboard(const QString &str)