aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receiverequestdialog.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-18 14:25:35 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-23 09:15:25 +0200
commit33a2febf5de0c7bd73c0ea409584487bd9995643 (patch)
tree0c485b19fc58751f732a290a13cc83cd9577d374 /src/qt/receiverequestdialog.h
parent786b066f037bf2d7ba7fe0df1a4e15b22ab65599 (diff)
downloadbitcoin-33a2febf5de0c7bd73c0ea409584487bd9995643.tar.xz
qt: show payment information in one text area
Simplifies the dialog (makes it look less crowded) as well as the code and makes it possible to copy multiple fields at once. Also format bitcoin URI as URI, add copy button for URI.
Diffstat (limited to 'src/qt/receiverequestdialog.h')
-rw-r--r--src/qt/receiverequestdialog.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/qt/receiverequestdialog.h b/src/qt/receiverequestdialog.h
index bfe50bde77..8db1ad83a1 100644
--- a/src/qt/receiverequestdialog.h
+++ b/src/qt/receiverequestdialog.h
@@ -36,25 +36,21 @@ class ReceiveRequestDialog : public QDialog
Q_OBJECT
public:
- explicit ReceiveRequestDialog(const SendCoinsRecipient &info, QWidget *parent = 0);
+ explicit ReceiveRequestDialog(QWidget *parent = 0);
~ReceiveRequestDialog();
void setModel(OptionsModel *model);
+ void setInfo(const SendCoinsRecipient &info);
private slots:
- void on_lnReqAmount_textChanged();
- void on_lnLabel_textChanged();
- void on_lnMessage_textChanged();
+ void on_btnCopyURI_clicked();
- void updateDisplayUnit();
+ void update();
private:
Ui::ReceiveRequestDialog *ui;
OptionsModel *model;
SendCoinsRecipient info;
-
- void genCode();
- QString getURI();
};
#endif // QRCODEDIALOG_H