Hye all
I'm still trying to create my own ItemModel for my data structure in PyQt.
This model is quiet "readable only" (and now it works great thanks to you).
But I would like my users to be able to check a check box (that represent a boolean value).
For this column, I use the flag:
QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsUserCheckable | QtCore.Qt.ItemIsEditable
The data are correctly display, but my user can't 'check' this check box.
I add a setData method to my model, but it do not seems to be called at all.
What am I doing wrong ?
Bookmarks