Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Alan Alpert
On Wed, Jan 29, 2014 at 12:54 AM, Olivier Goffart wrote: > On Tuesday 28 January 2014 11:28:42 Alan Alpert wrote: >> On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: > >> > While browsing through the code (qquickdrag.cpp) i found these two >> > >> > commented lines: >> > // TODO: how to h

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Olivier Goffart
On Tuesday 28 January 2014 11:28:42 Alan Alpert wrote: > On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: > > While browsing through the code (qquickdrag.cpp) i found these two > > > > commented lines: > > // TODO: how to handle drag image? > > // drag->setPixmap(iconPixmap); > > >

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Alan Alpert
On Tue, Jan 28, 2014 at 3:02 PM, Mark Gaiser wrote: > On Tue, Jan 28, 2014 at 11:32 PM, Alan Alpert <4163654...@gmail.com> wrote: >> On Tue, Jan 28, 2014 at 1:25 PM, Mark Gaiser wrote: >>> On Tue, Jan 28, 2014 at 8:28 PM, Alan Alpert <4163654...@gmail.com> wrote: On Wed, Jan 22, 2014 at 10:4

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Mark Gaiser
On Tue, Jan 28, 2014 at 11:32 PM, Alan Alpert <4163654...@gmail.com> wrote: > On Tue, Jan 28, 2014 at 1:25 PM, Mark Gaiser wrote: >> On Tue, Jan 28, 2014 at 8:28 PM, Alan Alpert <4163654...@gmail.com> wrote: >>> On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: On Wed, Jan 22, 2014 at 12:

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Alan Alpert
On Tue, Jan 28, 2014 at 1:25 PM, Mark Gaiser wrote: > On Tue, Jan 28, 2014 at 8:28 PM, Alan Alpert <4163654...@gmail.com> wrote: >> On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: >>> On Wed, Jan 22, 2014 at 12:11 AM, Fabien Castan wrote: Hi, Qt 5.2 adds the possibility to us

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Mark Gaiser
On Tue, Jan 28, 2014 at 8:28 PM, Alan Alpert <4163654...@gmail.com> wrote: > On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: >> On Wed, Jan 22, 2014 at 12:11 AM, Fabien Castan wrote: >>> Hi, >>> >>> Qt 5.2 adds the possibility to use drag&drop from/to external applications. >>> To allows to

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Alan Alpert
On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: > On Wed, Jan 22, 2014 at 12:11 AM, Fabien Castan wrote: >> Hi, >> >> Qt 5.2 adds the possibility to use drag&drop from/to external applications. >> To allows to drag an item from QML to an external application, we can't >> simply set a target

Re: [Development] QtQuick: Drag pixmap

2014-01-22 Thread Mark Gaiser
On Wed, Jan 22, 2014 at 12:11 AM, Fabien Castan wrote: > Hi, > > Qt 5.2 adds the possibility to use drag&drop from/to external applications. > To allows to drag an item from QML to an external application, we can't > simply set a target item, because we want to see this item ouside of the qml > wi

[Development] QtQuick: Drag pixmap

2014-01-21 Thread Fabien Castan
Hi, Qt 5.2 adds the possibility to use drag&drop from/to external applications. To allows to drag an item from QML to an external application, we can't simply set a target item, because we want to see this item ouside of the qml window. In Qt, we could set a pixmap on drag events: http://qt-projec