24 #include <qabstractfilter.h>
25 #include <qaivlib_global.h>
53 QVariant
data(
int role = Qt::DisplayRole)
const;
55 bool matches(
const QVariant & value,
int type)
const;
59 void setEditorData(QWidget* editor,
const QModelIndex & index);
63 void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex & index);
67 void updateEditorGeometry(QWidget* editor,
const QStyleOptionViewItem & option,
const QModelIndex & index);
70 #endif // QAUTOFILTER_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
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
QAutoFilter implements a filter based on the values found in the column specified.
Definition: qautofilter.h:34