15 : QSortFilterProxyModel(parent)
53#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
60#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
71#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
77#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
86#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
92#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
101#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
107#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
116#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
122#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
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.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.