1 #ifndef TRANSACTIONVIEW_H
2 #define TRANSACTIONVIEW_H
7 class TransactionFilterProxy;
19 class TransactionView : public QWidget
23 explicit TransactionView(QWidget *parent = 0);
25 void setModel(WalletModel *model);
40 TransactionFilterProxy *transactionProxyModel;
41 QTableView *transactionView;
43 QComboBox *dateWidget;
44 QComboBox *typeWidget;
45 QLineEdit *addressWidget;
46 QLineEdit *amountWidget;
50 QFrame *dateRangeWidget;
51 QDateTimeEdit *dateFrom;
52 QDateTimeEdit *dateTo;
54 QWidget *createDateRangeWidget();
57 void contextualMenu(const QPoint &);
58 void dateRangeChanged();
61 void doubleClicked(const QModelIndex&);
64 void chooseDate(int idx);
65 void chooseType(int idx);
66 void changedPrefix(const QString &prefix);
67 void changedAmount(const QString &amount);
76 #endif // TRANSACTIONVIEW_H