6#include <qt/forms/ui_receiverequestdialog.h>
18#if defined(HAVE_CONFIG_H)
19#include <config/bitcoin-config.h>
52 connect(
ui->btnSaveAs, &QPushButton::clicked,
ui->qr_code,
55 ui->btnSaveAs->setEnabled(
false);
58 ui->btnSaveAs->hide();
62 ui->uri_content->setText(
"<a href=\"" +
uri +
"\">" +
67 ui->amount_tag->hide();
68 ui->amount_content->hide();
75 ui->label_tag->hide();
76 ui->label_content->hide();
82 ui->message_tag->hide();
83 ui->message_content->hide();
89 ui->wallet_tag->hide();
90 ui->wallet_content->hide();
static QString formatWithUnit(int unit, const Amount amount, bool plussign=false, SeparatorStyle separators=SeparatorStyle::STANDARD)
Format as string (with unit)
int getDisplayUnit() const
void displayUnitChanged(int unit)
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.
OptionsModel * getOptionsModel()
QString getWalletName() const
QString HtmlEscape(const QString &str, bool fMultiLine)
void handleCloseWindowShortcut(QWidget *w)
QString formatBitcoinURI(const SendCoinsRecipient &info)
void setClipboard(const QString &str)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
static constexpr Amount zero() noexcept