I'm trying to implement a shift up and shift down capability for
children of a given node in a class i've derived from QTreeModel. I
make the changed in my underlining data structure but i'm currently
unable to notify qt of the change. Since there isn't a swap function i
have to remove the node i'm shifting from the model using
childrenRemoved but then i'm unable to notify qt that i've inserted a
node. The childrenInserted method is only be able to append to the end
of the children and emitting the dataChanged signal isn't causing my
QTreeView to update. Emitting a layoutChanged does cause the updates
but it destroys the current state of the tree. Any help would be great.
Thanks,
Kyle
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest