Changeset View
Changeset View
Standalone View
Standalone View
src/qt/transactionfilterproxy.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | public: | ||||
void setWatchOnlyFilter(WatchOnlyFilter filter); | void setWatchOnlyFilter(WatchOnlyFilter filter); | ||||
/** Set maximum number of rows returned, -1 if unlimited. */ | /** Set maximum number of rows returned, -1 if unlimited. */ | ||||
void setLimit(int limit); | void setLimit(int limit); | ||||
/** Set whether to show conflicted transactions. */ | /** Set whether to show conflicted transactions. */ | ||||
void setShowInactive(bool showInactive); | void setShowInactive(bool showInactive); | ||||
int rowCount(const QModelIndex &parent = QModelIndex()) const; | int rowCount(const QModelIndex &parent = QModelIndex()) const override; | ||||
protected: | protected: | ||||
bool filterAcceptsRow(int source_row, | bool filterAcceptsRow(int source_row, | ||||
const QModelIndex &source_parent) const; | const QModelIndex &source_parent) const override; | ||||
private: | private: | ||||
QDateTime dateFrom; | QDateTime dateFrom; | ||||
QDateTime dateTo; | QDateTime dateTo; | ||||
QString addrPrefix; | QString addrPrefix; | ||||
quint32 typeFilter; | quint32 typeFilter; | ||||
WatchOnlyFilter watchOnlyFilter; | WatchOnlyFilter watchOnlyFilter; | ||||
CAmount minAmount; | CAmount minAmount; | ||||
int limitRows; | int limitRows; | ||||
bool showInactive; | bool showInactive; | ||||
}; | }; | ||||
#endif // BITCOIN_QT_TRANSACTIONFILTERPROXY_H | #endif // BITCOIN_QT_TRANSACTIONFILTERPROXY_H |