Bitcoin Core  21.99.0
P2P Digital Currency
receiverequestdialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2020 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_RECEIVEREQUESTDIALOG_H
6 #define BITCOIN_QT_RECEIVEREQUESTDIALOG_H
7 
9 
10 #include <QDialog>
11 
12 class WalletModel;
13 
14 namespace Ui {
16 }
17 
18 class ReceiveRequestDialog : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  explicit ReceiveRequestDialog(QWidget *parent = nullptr);
25 
26  void setModel(WalletModel *model);
27  void setInfo(const SendCoinsRecipient &info);
28 
29 private Q_SLOTS:
30  void on_btnCopyURI_clicked();
32  void updateDisplayUnit();
33 
34 private:
35  Ui::ReceiveRequestDialog *ui;
38 };
39 
40 #endif // BITCOIN_QT_RECEIVEREQUESTDIALOG_H
ReceiveRequestDialog::setModel
void setModel(WalletModel *model)
Definition: receiverequestdialog.cpp:35
ReceiveRequestDialog::ui
Ui::ReceiveRequestDialog * ui
Definition: receiverequestdialog.h:35
WalletModel
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:51
ReceiveRequestDialog::info
SendCoinsRecipient info
Definition: receiverequestdialog.h:37
ReceiveRequestDialog::model
WalletModel * model
Definition: receiverequestdialog.h:36
ReceiveRequestDialog::updateDisplayUnit
void updateDisplayUnit()
Definition: receiverequestdialog.cpp:94
ReceiveRequestDialog::on_btnCopyAddress_clicked
void on_btnCopyAddress_clicked()
Definition: receiverequestdialog.cpp:105
ReceiveRequestDialog::setInfo
void setInfo(const SendCoinsRecipient &info)
Definition: receiverequestdialog.cpp:46
SendCoinsRecipient
Definition: sendcoinsrecipient.h:19
ReceiveRequestDialog::ReceiveRequestDialog
ReceiveRequestDialog(QWidget *parent=nullptr)
Definition: receiverequestdialog.cpp:21
ReceiveRequestDialog
Definition: receiverequestdialog.h:18
Ui
Definition: addressbookpage.h:14
ReceiveRequestDialog::on_btnCopyURI_clicked
void on_btnCopyURI_clicked()
Definition: receiverequestdialog.cpp:100
ReceiveRequestDialog::~ReceiveRequestDialog
~ReceiveRequestDialog()
Definition: receiverequestdialog.cpp:30
sendcoinsrecipient.h