I have set the QTreeView as follows:
ui.treeView.setDragEnabled(true);
ui.treeView.viewport().setAcceptDrops(true);
ui.treeView.setDropIndicatorShown(true);
ui.treeView.setDragDropMode(QAbstractItemView.DragDropMode.InternalMove);
Then what else need to be done with the QTreeModel, which is used as the
tree model???
Can you tell me some details? An example will be better. I just want to
implement the item's moving from one parent item to another item.
Thanks.
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest