bitcoin/src/qt/receiverequestdialog.h

41 lines
920 B
C
Raw Normal View History

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