20 QSortFilterProxyModel(parent),
24 typeFilter(ALL_TYPES),
25 watchOnlyFilter(WatchOnlyFilter_All),
34 QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent);
52 if(datetime < dateFrom || datetime >
dateTo)
54 if (!address.contains(
addrPrefix, Qt::CaseInsensitive) && !label.contains(
addrPrefix, Qt::CaseInsensitive))
112 return QSortFilterProxyModel::rowCount(parent);
Transaction status (TransactionRecord::Status)
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
Date and time this transaction was created.
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
Net amount of transaction.
PlatformStyle::TableColorType type
Conflicts with other transaction or mempool.
Label of address related to transaction.
struct evm_uint160be address(struct evm_env *env)
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const