1 #ifndef TOKENFILTERPROXY_H 2 #define TOKENFILTERPROXY_H 7 #include <QSortFilterProxyModel> 9 #include <boost/multiprecision/cpp_int.hpp> 24 static const quint32 ALL_TYPES = 0xFFFFFFFF;
28 void setDateRange(
const QDateTime &from,
const QDateTime &to);
29 void setAddressPrefix(
const QString &addrPrefix);
33 void setTypeFilter(quint32 modes);
34 void setMinAmount(
const int256_t& minimum);
35 void setName(
const QString _name);
38 void setLimit(
int limit);
40 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
43 bool filterAcceptsRow(
int source_row,
const QModelIndex & source_parent)
const;
44 bool lessThan(
const QModelIndex & left,
const QModelIndex & right)
const;
57 #endif // TOKENFILTERPROXY_H static quint32 TYPE(int type)
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)
PlatformStyle::TableColorType type