21 #ifndef QSPECIALFILTER_H
22 #define QSPECIALFILTER_H
24 #include <qaivlib_global.h>
25 #include <qabstractfilter.h>
36 MatchFlagInvalid = -1,
69 QVariant
data(
int role = Qt::DisplayRole)
const;
71 bool matches(
const QVariant & value,
int type)
const;
73 QSpecialFilter::MatchFlag matchFlag()
const;
75 void setEditorData(QWidget * editor,
const QModelIndex & index);
77 void setModelData(QWidget* editor, QAbstractItemModel * model,
const QModelIndex & index);
79 void updateEditorGeometry(QWidget* editor,
const QStyleOptionViewItem & option,
const QModelIndex & index);
82 #endif // QSPECIALFILTER_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 addContextMenuActions(QMenu *menu, QWidget *receiver)
Definition: qabstractfilter.cpp:90
virtual void setEditorData(QWidget *editor, const QModelIndex &index)=0
virtual bool matches(const QVariant &value, int type=-1) const =0
The QTextFilter class implements a conditonal filter.
Definition: qspecialfilter.h:28
The QFilterViewItemDelegate class provides display and editing facilities for filter from a filter mo...
Definition: qfilterviewitemdelegate.h:30