5 #ifndef FABCOIN_QT_TRANSACTIONFILTERPROXY_H 6 #define FABCOIN_QT_TRANSACTIONFILTERPROXY_H 11 #include <QSortFilterProxyModel> 37 void setDateRange(
const QDateTime &from,
const QDateTime &to);
52 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
55 bool filterAcceptsRow(
int source_row,
const QModelIndex & source_parent)
const;
68 #endif // FABCOIN_QT_TRANSACTIONFILTERPROXY_H
void setTypeFilter(quint32 modes)
TransactionFilterProxy(QObject *parent=0)
void setAddressPrefix(const QString &addrPrefix)
static quint32 TYPE(int type)
int64_t CAmount
Amount in lius (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.
int rowCount(const QModelIndex &parent=QModelIndex()) const
PlatformStyle::TableColorType type
Filter the transaction list according to pre-specified rules.
static const quint32 ALL_TYPES
Type filter bit field (all types)
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const