aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/transactionview.h')
-rw-r--r--src/qt/transactionview.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/qt/transactionview.h b/src/qt/transactionview.h
index 25212c976e..f02751a074 100644
--- a/src/qt/transactionview.h
+++ b/src/qt/transactionview.h
@@ -3,7 +3,7 @@
#include <QWidget>
-class TransactionTableModel;
+class WalletModel;
class TransactionFilterProxy;
QT_BEGIN_NAMESPACE
@@ -11,6 +11,7 @@ class QTableView;
class QComboBox;
class QLineEdit;
class QModelIndex;
+class QMenu;
QT_END_NAMESPACE
class TransactionView : public QWidget
@@ -19,7 +20,7 @@ class TransactionView : public QWidget
public:
explicit TransactionView(QWidget *parent = 0);
- void setModel(TransactionTableModel *model);
+ void setModel(WalletModel *model);
enum DateEnum
{
@@ -33,7 +34,7 @@ public:
};
private:
- TransactionTableModel *model;
+ WalletModel *model;
TransactionFilterProxy *transactionProxyModel;
QTableView *transactionView;
@@ -42,6 +43,11 @@ private:
QLineEdit *addressWidget;
QLineEdit *amountWidget;
+ QMenu *contextMenu;
+
+private slots:
+ void contextualMenu(const QPoint &);
+
signals:
void doubleClicked(const QModelIndex&);
@@ -51,6 +57,10 @@ public slots:
void changedPrefix(const QString &prefix);
void changedAmount(const QString &amount);
void exportClicked();
+ void showDetails();
+ void copyAddress();
+ void editLabel();
+ void copyLabel();
};