21 #ifndef QFILTERVIEWITEMDELEGATE_H
22 #define QFILTERVIEWITEMDELEGATE_H
24 #include <QListWidgetItem>
25 #include <QStyledItemDelegate>
27 #include <qaivlib_global.h>
46 QWidget* createEditor( QWidget * parent,
const QStyleOptionViewItem & option,
const QModelIndex & index )
const;
48 void setEditorData( QWidget * editor,
const QModelIndex & index )
const;
50 void setModelData( QWidget * editor, QAbstractItemModel * model,
const QModelIndex & index )
const;
52 QSize sizeHint(
const QStyleOptionViewItem & option,
const QModelIndex & index )
const;
56 void updateEditorGeometry( QWidget* editor,
const QStyleOptionViewItem & option,
const QModelIndex & index )
const;
58 void commitAndClose(QAbstractItemDelegate::EndEditHint hint = QAbstractItemDelegate::NoHint);
59 void cancelAndClose(QAbstractItemDelegate::EndEditHint hint = QAbstractItemDelegate::NoHint);
61 void comboxBoxItemActivated(
int index );
63 void listWidgetCurrentItemChanged( QListWidgetItem* current, QListWidgetItem* previous );
65 void lineEditReturnPressed();
70 #endif // QFILTERVIEWITEMDELEGATE_H
The QFilterViewItemDelegate class provides display and editing facilities for filter from a filter mo...
Definition: qfilterviewitemdelegate.h:30