aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receivecoinsdialog.h
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-01-26 06:37:17 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-01-29 14:20:15 +0100
commit79fb0557cf3b72cac6c7db2b5389a48ac8ab4e22 (patch)
treed80c45f4c4daaeed5330ad3458cede6534f49d44 /src/qt/receivecoinsdialog.h
parent624154114f30b73662a01dbc8de734dc423a3d51 (diff)
[Qt] minor receive tab improvements
Diffstat (limited to 'src/qt/receivecoinsdialog.h')
-rw-r--r--src/qt/receivecoinsdialog.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qt/receivecoinsdialog.h b/src/qt/receivecoinsdialog.h
index ed4b04d361..2c6de0cbca 100644
--- a/src/qt/receivecoinsdialog.h
+++ b/src/qt/receivecoinsdialog.h
@@ -6,6 +6,9 @@
#define RECEIVECOINSDIALOG_H
#include <QDialog>
+#include <QKeyEvent>
+#include <QMenu>
+#include <QPoint>
#include <QVariant>
namespace Ui {
@@ -34,9 +37,14 @@ public slots:
void reject();
void accept();
+protected:
+ virtual void keyPressEvent(QKeyEvent *event);
+
private:
Ui::ReceiveCoinsDialog *ui;
WalletModel *model;
+ QMenu *contextMenu;
+ void copyColumnToClipboard(int column);
private slots:
void on_receiveButton_clicked();
@@ -44,6 +52,10 @@ private slots:
void on_removeRequestButton_clicked();
void on_recentRequestsView_doubleClicked(const QModelIndex &index);
void updateDisplayUnit();
+ void showMenu(const QPoint &);
+ void copyLabel();
+ void copyMessage();
+ void copyAmount();
};
#endif // RECEIVECOINSDIALOG_H