Filter the transaction list according to pre-specified rules.
More...
#include <transactionfilterproxy.h>
|
static quint32 | TYPE (int type) |
|
|
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 |
| Last date that can be represented (far in the future). More...
|
|
static const quint32 | ALL_TYPES = 0xFFFFFFFF |
| Type filter bit field (all types). More...
|
|
|
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
|
Filter the transaction list according to pre-specified rules.
Definition at line 16 of file transactionfilterproxy.h.
◆ WatchOnlyFilter
◆ TransactionFilterProxy()
TransactionFilterProxy::TransactionFilterProxy |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ filterAcceptsRow()
bool TransactionFilterProxy::filterAcceptsRow |
( |
int |
source_row, |
|
|
const QModelIndex & |
source_parent |
|
) |
| const |
|
overrideprotected |
◆ rowCount()
int TransactionFilterProxy::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setDateRange()
void TransactionFilterProxy::setDateRange |
( |
const QDateTime & |
from, |
|
|
const QDateTime & |
to |
|
) |
| |
◆ setLimit()
void TransactionFilterProxy::setLimit |
( |
int |
limit | ) |
|
◆ setMinAmount()
void TransactionFilterProxy::setMinAmount |
( |
const Amount |
minimum | ) |
|
◆ setSearchString()
void TransactionFilterProxy::setSearchString |
( |
const QString & |
search_string | ) |
|
◆ setShowInactive()
void TransactionFilterProxy::setShowInactive |
( |
bool |
showInactive | ) |
|
◆ setTypeFilter()
void TransactionFilterProxy::setTypeFilter |
( |
quint32 |
modes | ) |
|
◆ setWatchOnlyFilter()
◆ TYPE()
static quint32 TransactionFilterProxy::TYPE |
( |
int |
type | ) |
|
|
inlinestatic |
◆ ALL_TYPES
const quint32 TransactionFilterProxy::ALL_TYPES = 0xFFFFFFFF |
|
static |
◆ dateFrom
QDateTime TransactionFilterProxy::dateFrom |
|
private |
◆ dateTo
QDateTime TransactionFilterProxy::dateTo |
|
private |
◆ limitRows
int TransactionFilterProxy::limitRows |
|
private |
◆ m_search_string
QString TransactionFilterProxy::m_search_string |
|
private |
◆ MAX_DATE
const QDateTime TransactionFilterProxy::MAX_DATE |
|
static |
Initial value:=
QDateTime::fromTime_t(0xFFFFFFFF)
Last date that can be represented (far in the future).
Definition at line 29 of file transactionfilterproxy.h.
◆ MIN_DATE
const QDateTime TransactionFilterProxy::MIN_DATE = QDateTime::fromTime_t(0) |
|
static |
◆ minAmount
Amount TransactionFilterProxy::minAmount |
|
private |
◆ showInactive
bool TransactionFilterProxy::showInactive |
|
private |
◆ typeFilter
quint32 TransactionFilterProxy::typeFilter |
|
private |
◆ watchOnlyFilter
The documentation for this class was generated from the following files: