pyqt drop to open a file

rui.li.spam at gmail.com rui.li.spam at gmail.com
Sat Mar 28 01:55:49 CET 2009


Hi,

anyone can give a simple example or a link on how to use 'drop' with
pyqt.

what I'm looking for is drop a file to main widget then program get
the path\filename

something like: main_widget set to accept 'drop event', set filename
when 'drop event happens' then the filename is path\filename of the
file user drag from any location to main widget.


Thanks for any help.

-Ray



More information about the Python-list mailing list