If you now have the drop position from the QDropEvent, then you should be able to inspect the item under the position via itemAt
http://doc.qt.io/qt-4.8/qtreewidget.html#itemAt >From there you can choose how you want to insert Justin On Sat, Apr 8, 2017, 4:10 AM Rudi Hammad <[email protected]> wrote: > sorry, badLink. This is the one --> https://pastebin.com/S6DZd5MM > > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/dbe817a4-5b86-480f-8e85-6073b1c2e88b%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/dbe817a4-5b86-480f-8e85-6073b1c2e88b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2rzcPOWrvyT52RED82JrbFSCg4FAtyqfpJNkFiJigYNQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
