6 #include <qt/forms/ui_receiverequestdialog.h>
17 #if defined(HAVE_CONFIG_H)
55 ui->btnSaveAs->setEnabled(
false);
58 ui->btnSaveAs->hide();
66 ui->amount_tag->hide();
67 ui->amount_content->hide();
74 ui->label_tag->hide();
75 ui->label_content->hide();
81 ui->message_tag->hide();
82 ui->message_content->hide();
88 ui->wallet_tag->hide();
89 ui->wallet_content->hide();
94 connect(
ui->btnVerify, &QPushButton::clicked, [
this] {
95 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)