You don't have to subclass to do that. You use that view only once, so there is no point is subclassing.Originally Posted by castorvert
There is nothing strange in it. flags() from abstract item model just implements the most common behaviour. If you want to have a more complicated model, you have to reimplement flags() along with other modelling methods.I found sth strange : when I subclass QAbstractListModel, I have to subclass flags() to have Drag and drop enabled.
Bookmarks