38 #ifndef _pqCustomFilterManagerModel_h 39 #define _pqCustomFilterManagerModel_h 42 #include <QAbstractListModel> 44 class pqCustomFilterManagerModelInternal;
77 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
88 QModelIndex
index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const override;
98 QVariant
data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const override;
110 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
124 QString getCustomFilterName(
const QModelIndex& index)
const;
133 QModelIndex getIndexFor(
const QString& filter)
const;
142 void addCustomFilter(QString
name);
149 void removeCustomFilter(QString name);
154 void importCustomFiltersFromSettings();
155 void exportCustomFiltersToSettings();
164 void customFilterAdded(
const QString& name);
170 pqCustomFilterManagerModelInternal* Internal;
#define PQCOMPONENTS_EXPORT
The pqCustomFilterManagerModel class stores the list of registered pipeline custom filter definitions...