6 #ifndef RAVEN_QT_TRANSACTIONFILTERPROXY_H 7 #define RAVEN_QT_TRANSACTIONFILTERPROXY_H 12 #include <QSortFilterProxyModel> 29 static quint32
TYPE(
int type) {
return 1<<type; }
38 void setDateRange(
const QDateTime &from,
const QDateTime &to);
54 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
57 bool filterAcceptsRow(
int source_row,
const QModelIndex & source_parent)
const;
70 #endif // RAVEN_QT_TRANSACTIONFILTERPROXY_H
void setTypeFilter(quint32 modes)
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
TransactionFilterProxy(QObject *parent=0)
void setAddressPrefix(const QString &addrPrefix)
static quint32 TYPE(int type)
int64_t CAmount
Amount in corbies (Can be negative)
static const QDateTime MIN_DATE
Earliest date that can be represented (far in the past)
static const QDateTime MAX_DATE
Last date that can be represented (far in the future)
void setDateRange(const QDateTime &from, const QDateTime &to)
WatchOnlyFilter watchOnlyFilter
void setWatchOnlyFilter(WatchOnlyFilter filter)
void setMinAmount(const CAmount &minimum)
void setLimit(int limit)
Set maximum number of rows returned, -1 if unlimited.
void setShowInactive(bool showInactive)
Set whether to show conflicted transactions.
void setAssetNamePrefix(const QString &assetNamePrefix)
Filter the transaction list according to pre-specified rules.
static const quint32 ALL_TYPES
Type filter bit field (all types)