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);
27 // Date ranges for filter
41 TransactionFilterProxy *transactionProxyModel;
42 QTableView *transactionView;
44 QComboBox *dateWidget;
45 QComboBox *typeWidget;
46 QLineEdit *addressWidget;
47 QLineEdit *amountWidget;
51 QFrame *dateRangeWidget;
52 QDateTimeEdit *dateFrom;
53 QDateTimeEdit *dateTo;
55 QWidget *createDateRangeWidget();
58 void contextualMenu(const QPoint &);
59 void dateRangeChanged();
62 void doubleClicked(const QModelIndex&);
65 void chooseDate(int idx);
66 void chooseType(int idx);
67 void changedPrefix(const QString &prefix);
68 void changedAmount(const QString &amount);
77 #endif // TRANSACTIONVIEW_H