[PyQt] Droping files over a QWidget

Nahuel Defossé nahueldefosse at yahoo.com.ar
Fri May 18 03:57:43 BST 2007


Hi!
I'm learning Python and PyQt, I come from Java and C/C++.
I found PyQt very fast and effective but there's something that's killing my 
brain. I'm trying to drop a file in a QWidget, i'm just interested about 
getting the path. It's a file conversion tool.
I've implemented dropEvent, and set to Ture acceptDrops, but aparenty the 
function never get invoked...
Can QWidgets recive desktop drops?

Thanks in advance.
Nahuel


More information about the PyQt mailing list