0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-06 10:18:44 -05:00
bitcoin-bitcoin-core/src/qt/receiverequestdialog.h

40 lines
883 B
C
Raw Normal View History

2018-07-26 18:36:45 -04:00
// Copyright (c) 2011-2018 The Bitcoin Core developers
2014-12-13 12:09:33 +08:00
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
2014-11-03 16:16:40 +01:00
#ifndef BITCOIN_QT_RECEIVEREQUESTDIALOG_H
#define BITCOIN_QT_RECEIVEREQUESTDIALOG_H
#include <qt/walletmodel.h>
#include <QDialog>
namespace Ui {
2013-10-16 15:14:26 +02:00
class ReceiveRequestDialog;
}
2013-10-16 15:14:26 +02:00
class ReceiveRequestDialog : public QDialog
{
Q_OBJECT
public:
explicit ReceiveRequestDialog(QWidget *parent = nullptr);
2013-10-16 15:14:26 +02:00
~ReceiveRequestDialog();
void setModel(WalletModel *model);
void setInfo(const SendCoinsRecipient &info);
private Q_SLOTS:
void on_btnCopyURI_clicked();
void on_btnCopyAddress_clicked();
void update();
private:
2013-10-16 15:14:26 +02:00
Ui::ReceiveRequestDialog *ui;
WalletModel *model;
SendCoinsRecipient info;
};
2014-11-03 16:16:40 +01:00
#endif // BITCOIN_QT_RECEIVEREQUESTDIALOG_H