[PyQt] Drag to system

Hugo Léveillé hugol at fastmail.net
Wed Sep 8 15:27:28 BST 2010


I did but I couldn't find how to do it even if I know the info is there
somewhere in the doc. Any hints are welcomed

On Wed, 08 Sep 2010 15:50 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> On Wednesday 08 September 2010, 15:05:21 Hugo Léveillé wrote:
> > I have made a event to get the path of a file dragged into my pyqt app
> > with this:
> >
> > path = event.mimeData().urls()
> >
> > But I would like to make to exact opposite ( to drag an item of my app
> > into another app that expect a file drop)
> >
> > I looked in the doc on how I could set an URL to my listWidgetItem but
> > didn't find anything. So is this possible ?
> 
> Did you read the Drag and Drop overview from the Qt documentation?
> 
> Pete
> 
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 


-- 
  Hugo Léveillé
  hugol at fastmail.net



More information about the PyQt mailing list