You'll have to do the bookkeeping about hierarchy yourself, as nearly all
of qmodelindex's methods will access the model again. The problem is that
the c++ implementation (of the qtreemodel) uses
QModelIndex::internalPointer to retrieve the information which internal
object is linked to that specif
Yes, I've read the documentation several times but it's too high level. I
forgot to mention in my original email that I am already using a proxy
model. I think I have most of it figured out, except for how to implement
the parent(QModelIndex child) method. I can't determine what the child's
Hi,
have a look here :
http://developer.qt.nokia.com/doc/qt-4.8/model-view-programming.html#model-classes
AFAIR jambi breaks with the c++ in some points concerning the modelindex.
But the structure is still the same.
If I understand you correctly, you want to change the internat structure of
you