10 #ifndef pqCustomFilterManagerModel_h 11 #define pqCustomFilterManagerModel_h 14 #include <QAbstractListModel> 16 class pqCustomFilterManagerModelInternal;
49 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
60 QModelIndex
index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const override;
70 QVariant
data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const override;
82 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
96 QString getCustomFilterName(
const QModelIndex& index)
const;
105 QModelIndex getIndexFor(
const QString& filter)
const;
114 void addCustomFilter(QString
name);
121 void removeCustomFilter(QString name);
126 void importCustomFiltersFromSettings();
127 void exportCustomFiltersToSettings();
136 void customFilterAdded(
const QString& name);
142 pqCustomFilterManagerModelInternal* Internal;
#define PQCOMPONENTS_EXPORT
The pqCustomFilterManagerModel class stores the list of registered pipeline custom filter definitions...