Bitcoin ABC  0.28.12
P2P Digital Currency
receiverequestdialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2016 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  Q_OBJECT
20 
21 public:
22  explicit ReceiveRequestDialog(QWidget *parent = nullptr);
24 
25  void setModel(WalletModel *model);
26  void setInfo(const SendCoinsRecipient &info);
27 
28 private Q_SLOTS:
29  void on_btnCopyURI_clicked();
31  void updateDisplayUnit();
32 
33 private:
34  Ui::ReceiveRequestDialog *ui;
37 };
38 
39 #endif // BITCOIN_QT_RECEIVEREQUESTDIALOG_H
ReceiveRequestDialog(QWidget *parent=nullptr)
void setModel(WalletModel *model)
Ui::ReceiveRequestDialog * ui
void setInfo(const SendCoinsRecipient &info)
SendCoinsRecipient info
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:47