49 : QItemDelegate( parent )
57 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
62 void paint( QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
70 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
77 void setEditorData( QWidget *editor,
const QModelIndex &index )
const override;