1 // Copyright (c) 2011-2015 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.
5 #ifndef BITCOIN_QT_RECEIVEREQUESTDIALOG_H
6 #define BITCOIN_QT_RECEIVEREQUESTDIALOG_H
8 #include "walletmodel.h"
18 class ReceiveRequestDialog
;
25 /* Label widget for QR code. This image can be dragged, dropped, copied and saved
28 class QRImageWidget
: public QLabel
33 explicit QRImageWidget(QWidget
*parent
= 0);
41 virtual void mousePressEvent(QMouseEvent
*event
);
42 virtual void contextMenuEvent(QContextMenuEvent
*event
);
48 class ReceiveRequestDialog
: public QDialog
53 explicit ReceiveRequestDialog(QWidget
*parent
= 0);
54 ~ReceiveRequestDialog();
56 void setModel(OptionsModel
*model
);
57 void setInfo(const SendCoinsRecipient
&info
);
60 void on_btnCopyURI_clicked();
61 void on_btnCopyAddress_clicked();
66 Ui::ReceiveRequestDialog
*ui
;
68 SendCoinsRecipient info
;
71 #endif // BITCOIN_QT_RECEIVEREQUESTDIALOG_H