I read a few threads on this subject but stayed kind of confused.

I have a custom model and a QTableView, and I'm using a custom class deriving from QItemDelegate for two columns I need widgets in (a QSpinBox like in the Qt example, and a QComboBox).

Now I want to add a checkbox, but unlike the combo and spinbox, where the actual widget becomes displayed only in edit mode, I want my checkboxes to be always displayed. Of course I'll also want to connect to signals emitted from checking/unchecking.

What's the best way to add these checkboxes in my new column?