11 #ifndef PREF_DELEGATE_H 12 #define PREF_DELEGATE_H 16 #include <ui/qt/models/pref_models.h> 18 #include <QStyledItemDelegate> 19 #include <QModelIndex> 28 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &
option,
29 const QModelIndex &index)
const;
30 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
31 void setModelData(QWidget *editor, QAbstractItemModel *model,
32 const QModelIndex &index)
const;
35 PrefsItem* indexToPref(
const QModelIndex &index)
const;
38 #endif // PREF_DELEGATE_H Definition: pref_delegate.h:21
Definition: pref_models.h:22