Add a menu entry in the transaction view allowing...
[novacoin.git] / src / qt / transactionview.h
index f4f815b..012b0c8 100644 (file)
@@ -11,11 +11,15 @@ class QTableView;
 class QComboBox;
 class QLineEdit;
 class QModelIndex;
+class QSignalMapper;
 class QMenu;
 class QFrame;
 class QDateTimeEdit;
 QT_END_NAMESPACE
 
+/** Widget showing the transaction list for a wallet, including a filter row.
+    Using the filter row, the user can view or export a subset of the transactions.
+  */
 class TransactionView : public QWidget
 {
     Q_OBJECT
@@ -47,6 +51,7 @@ private:
     QLineEdit *amountWidget;
 
     QMenu *contextMenu;
+    QSignalMapper *mapperThirdPartyTxUrls;
 
     QFrame *dateRangeWidget;
     QDateTimeEdit *dateFrom;
@@ -57,6 +62,14 @@ private:
 private slots:
     void contextualMenu(const QPoint &);
     void dateRangeChanged();
+    void showDetails();
+    void copyAddress();
+    void editLabel();
+    void copyLabel();
+    void copyAmount();
+    void copyTxID();
+    void clearOrphans();
+    void openThirdPartyTxUrl(QString url);
 
 signals:
     void doubleClicked(const QModelIndex&);
@@ -67,10 +80,7 @@ public slots:
     void changedPrefix(const QString &prefix);
     void changedAmount(const QString &amount);
     void exportClicked();
-    void showDetails();
-    void copyAddress();
-    void editLabel();
-    void copyLabel();
+    void focusTransaction(const QModelIndex&);
 
 };