5 #ifndef PIVX_QT_ADDRESSFILTERPROXYMODEL_H
6 #define PIVX_QT_ADDRESSFILTERPROXYMODEL_H
8 #include <QSortFilterProxyModel>
15 : QSortFilterProxyModel(parent)
21 : QSortFilterProxyModel(parent)
27 setDynamicSortFilter(
true);
28 setFilterCaseSensitivity(Qt::CaseInsensitive);
29 setSortCaseSensitivity(Qt::CaseInsensitive);
32 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
34 void setType(
const QString& type);
35 void setType(
const QStringList& types);
int rowCount(const QModelIndex &parent=QModelIndex()) const override
AddressFilterProxyModel(const QString &type, QObject *parent)
bool filterAcceptsRow(int row, const QModelIndex &parent) const override
void setType(const QString &type)
AddressFilterProxyModel(const QStringList &types, QObject *parent)