Unsolved checkbox checked or unchecked in dataChanged?
-
I have a checkbox in a TreeView and when I click on the checkbox, my model (which is derived from QAbstractItemModel) emits this function.
dataChanged(const QModelIndex &tl, const QModelIndex &br, const QVector<int> &roles) { ... }
Within this function, is there a way here to know if the checkbox that was clicked on is checked or unchecked?
-
Hi,
How did you implement that checkbox ?
-
Ok, nevermind, I think I've got it figured out. Thanks.