[Qt-interest] prevent a drop in QTreeWidget

Graham Labdon Graham.Labdon at avalonsciences.com
Fri May 27 10:03:40 CEST 2011


Hi
Can someone advise me how to prevent a drop being accepted in certain circumstances in a QTreeWidget?
I have derived a class from QTreeWidget and have reimplemented the DropEvent method.
How do I get the information that tells me where the item is being dropped so I can tell whether or not the drop should be allowed?

Thanks

Graham



More information about the Qt-interest-old mailing list