12 #ifndef PREF_DELEGATE_H
13 #define PREF_DELEGATE_H
19 #include <QStyledItemDelegate>
20 #include <QModelIndex>
27 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
28 const QModelIndex &index)
const;
29 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
30 void setModelData(QWidget *editor, QAbstractItemModel *model,
31 const QModelIndex &index)
const;
34 PrefsItem* indexToPref(
const QModelIndex &index)
const;
Definition: pref_delegate.h:23
Definition: pref_models.h:70