1 #ifndef QXRDROITYPEDELEGATE_H
2 #define QXRDROITYPEDELEGATE_H
4 #include <QStyledItemDelegate>
13 QWidget *
createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
14 const QModelIndex &index)
const Q_DECL_OVERRIDE;
15 void setEditorData(QWidget *editor,
const QModelIndex &index)
const Q_DECL_OVERRIDE;
16 void setModelData(QWidget *editor, QAbstractItemModel *model,
17 const QModelIndex &index)
const Q_DECL_OVERRIDE;
26 #endif // QXRDROITYPEDELEGATE_H
QxrdROITypeDelegate(QWidget *parent=0)
QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE
void setEditorData(QWidget *editor, const QModelIndex &index) const Q_DECL_OVERRIDE
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const Q_DECL_OVERRIDE
void typeChanged(int newType)