48 : QItemDelegate( parent )
56 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
61 void paint( QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
69 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
76 void setEditorData( QWidget *editor,
const QModelIndex &index )
const override;