21 #ifndef QREGEXPFILTER_H
22 #define QREGEXPFILTER_H
24 #include <qaivlib_global.h>
25 #include <qabstractfilter.h>
48 QVariant
data(
int role = Qt::DisplayRole)
const;
50 bool matches(
const QVariant & value,
int type)
const;
54 QRegExp regExp()
const;
58 void setEditorData(QWidget * editor,
const QModelIndex & index);
62 void setModelData(QWidget* editor, QAbstractItemModel * model,
const QModelIndex & index);
66 void updateEditorGeometry(QWidget* editor,
const QStyleOptionViewItem & option,
const QModelIndex & index);
71 #endif // QREGEXPFILTER_H
virtual QVariant data(int role=Qt::DisplayRole) const =0
The QAbstractFilter class provides a base class for filter definitions used with a QAdvancedTableView...
Definition: qabstractfilter.h:41
virtual QWidget * createEditor(QFilterViewItemDelegate *delegate, QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const =0
virtual void setEditorData(QWidget *editor, const QModelIndex &index)=0
The QRegExpFilter class implements a regular expression filter.
Definition: qregexpfilter.h:31
virtual bool matches(const QVariant &value, int type=-1) const =0
The QFilterViewItemDelegate class provides display and editing facilities for filter from a filter mo...
Definition: qfilterviewitemdelegate.h:30