![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
Filter the transaction list according to pre-specified rules. More...
#include <transactionfilterproxy.h>
Public Types | |
| enum | WatchOnlyFilter { WatchOnlyFilter_All, WatchOnlyFilter_Yes, WatchOnlyFilter_No } |
Public Member Functions | |
| TransactionFilterProxy (QObject *parent=0) | |
| void | setDateRange (const QDateTime &from, const QDateTime &to) |
| void | setAddressPrefix (const QString &addrPrefix) |
| void | setTypeFilter (quint32 modes) |
| void | setMinAmount (const CAmount &minimum) |
| void | setWatchOnlyFilter (WatchOnlyFilter filter) |
| void | setLimit (int limit) |
| Set maximum number of rows returned, -1 if unlimited. More... | |
| void | setShowInactive (bool showInactive) |
| Set whether to show conflicted transactions. More... | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Static Public Member Functions | |
| static quint32 | TYPE (int type) |
Static Public Attributes | |
| static const QDateTime | MIN_DATE = QDateTime::fromTime_t(0) |
| Earliest date that can be represented (far in the past) More... | |
| static const QDateTime | MAX_DATE = QDateTime::fromTime_t(0xFFFFFFFF) |
| Last date that can be represented (far in the future) More... | |
| static const quint32 | ALL_TYPES = 0xFFFFFFFF |
| Type filter bit field (all types) More... | |
Protected Member Functions | |
| bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
Private Attributes | |
| QDateTime | dateFrom |
| QDateTime | dateTo |
| QString | addrPrefix |
| quint32 | typeFilter |
| WatchOnlyFilter | watchOnlyFilter |
| CAmount | minAmount |
| int | limitRows |
| bool | showInactive |
Filter the transaction list according to pre-specified rules.
Definition at line 14 of file transactionfilterproxy.h.
| Enumerator | |
|---|---|
| WatchOnlyFilter_All | |
| WatchOnlyFilter_Yes | |
| WatchOnlyFilter_No | |
Definition at line 30 of file transactionfilterproxy.h.
|
explicit |
Definition at line 19 of file transactionfilterproxy.cpp.
|
protected |
| int TransactionFilterProxy::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 104 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setAddressPrefix | ( | const QString & | addrPrefix | ) |
Definition at line 69 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setDateRange | ( | const QDateTime & | from, |
| const QDateTime & | to | ||
| ) |
Definition at line 62 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setLimit | ( | int | limit | ) |
Set maximum number of rows returned, -1 if unlimited.
Definition at line 93 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setMinAmount | ( | const CAmount & | minimum | ) |
Definition at line 81 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setShowInactive | ( | bool | showInactive | ) |
Set whether to show conflicted transactions.
Definition at line 98 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setTypeFilter | ( | quint32 | modes | ) |
Definition at line 75 of file transactionfilterproxy.cpp.
| void TransactionFilterProxy::setWatchOnlyFilter | ( | WatchOnlyFilter | filter | ) |
Definition at line 87 of file transactionfilterproxy.cpp.
|
inlinestatic |
|
private |
Definition at line 60 of file transactionfilterproxy.h.
|
static |
Type filter bit field (all types)
Definition at line 26 of file transactionfilterproxy.h.
|
private |
Definition at line 58 of file transactionfilterproxy.h.
|
private |
Definition at line 59 of file transactionfilterproxy.h.
|
private |
Definition at line 64 of file transactionfilterproxy.h.
|
static |
Last date that can be represented (far in the future)
Definition at line 24 of file transactionfilterproxy.h.
|
static |
Earliest date that can be represented (far in the past)
Definition at line 22 of file transactionfilterproxy.h.
|
private |
Definition at line 63 of file transactionfilterproxy.h.
|
private |
Definition at line 65 of file transactionfilterproxy.h.
|
private |
Definition at line 61 of file transactionfilterproxy.h.
|
private |
Definition at line 62 of file transactionfilterproxy.h.
1.8.11