15 : QSortFilterProxyModel(parent)
21 QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent);
53#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
60#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
61 endFilterChange(QSortFilterProxyModel::Direction::Rows);
71#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
77#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
78 endFilterChange(QSortFilterProxyModel::Direction::Rows);
86#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
92#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
93 endFilterChange(QSortFilterProxyModel::Direction::Rows);
101#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
107#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
108 endFilterChange(QSortFilterProxyModel::Direction::Rows);
116#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
122#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
123 endFilterChange(QSortFilterProxyModel::Direction::Rows);
int64_t CAmount
Amount in satoshis (Can be negative)
std::optional< QDateTime > dateFrom
void setMinAmount(const CAmount &minimum)
void setDateRange(const std::optional< QDateTime > &from, const std::optional< QDateTime > &to)
Filter transactions between date range.
std::optional< QDateTime > dateTo
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override
static quint32 TYPE(int type)
void setShowInactive(bool showInactive)
Set whether to show conflicted transactions.
void setSearchString(const QString &)
void setTypeFilter(quint32 modes)
TransactionFilterProxy(QObject *parent=nullptr)
@ LabelRole
Label of address related to transaction.
@ TypeRole
Type of transaction.
@ StatusRole
Transaction status (TransactionRecord::Status)
@ DateRole
Date and time this transaction was created.
@ TxHashRole
Transaction hash.
@ AddressRole
Address of transaction.
@ AmountRole
Net amount of transaction.
@ Conflicted
Conflicts with other transaction or mempool.