PDA

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



fulbay
17th December 2010, 15:57
Hello,

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?

Thanks...