You have two options:
- make your delegate create a QCheckBox in createEditor and also implement setEditorData and setModelData
- make the model return a value for Qt::CheckStateRole in column 0 instead of a value for Qt:isplayRole. Might not even need a delegate in this case.
Cheers,
_
Bookmarks