[PyQt] Drag and Drop when using designer

Nahuel Defossé nahueldefosse at yahoo.com.ar
Thu Oct 25 08:22:39 BST 2007


I've made all my gui with designer. I have some List Views there that need 
drag and drop funcitonality so I need to add them some methods to handle the 
drop events properly, and set the accept drops to True... but I can't add 
those methods with setattr, they don't work, it seems I have to subclass the 
List Views.
Is there any way to get the drop thing without altering the set up that 
setupUi method does?

Thanks in advance

More information about the PyQt mailing list