 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
5 #ifndef BITCOIN_QT_TRANSACTIONFILTERPROXY_H
6 #define BITCOIN_QT_TRANSACTIONFILTERPROXY_H
11 #include <QSortFilterProxyModel>
30 static quint32
TYPE(
int type) {
return 1 << type; }
38 void setDateRange(
const QDateTime& from,
const QDateTime& to);
56 int rowCount(
const QModelIndex& parent = QModelIndex())
const;
57 static bool isOrphan(
const int status,
const int type);
60 bool filterAcceptsRow(
int source_row,
const QModelIndex& source_parent)
const;
74 #endif // BITCOIN_QT_TRANSACTIONFILTERPROXY_H
void setAddressPrefix(const QString &addrPrefix)
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
void setHideOrphans(bool fHide)
Set whether to hide orphan stakes.
static const QDateTime MIN_DATE
Earliest date that can be represented (far in the past)
void setShowInactive(bool showInactive)
Set whether to show conflicted transactions.
TransactionFilterProxy(QObject *parent=0)
void setMinAmount(const CAmount &minimum)
int64_t CAmount
Amount in PRCY (Can be negative)
void setLimit(int limit)
Set maximum number of rows returned, -1 if unlimited.
static quint32 TYPE(int type)
void setTypeFilter(quint32 modes)
void setWatchOnlyFilter(WatchOnlyFilter filter)
static const QDateTime MAX_DATE
Last date that can be represented (far in the future)
void setDateRange(const QDateTime &from, const QDateTime &to)
static const quint32 COMMON_TYPES
Type filter bit field (all types but Obfuscation-SPAM ...
static bool isOrphan(const int status, const int type)
WatchOnlyFilter watchOnlyFilter
static const quint32 ALL_TYPES
Type filter bit field (all types)
Filter the transaction list according to pre-specified rules.