View Full Version : drag and drop in only one hierarchy of the tree widget

17th December 2010, 16:57

I want to allow the drag & drop attribute only in one hierarchy. The child should not be moved to the level of its parent, it should only be moved between the nodes in its level. However, setDragEnabled(), setDragDropOverwriteMode() etc functions are available only for QTreeWidget. I could not find out anything special to QTreeWidgetItem or so on.

Could you please help me with this problem?