Re: [Development] QML DropArea documentation unhelpful

2014-05-14 Thread Kevin Funk
On Thursday 15 May 2014 04:44:34 Ben Lau wrote: > well , I also think that the document about Drag and Drop is not clear > enough.. Reading from example code is more easy to understand. > > Anyway , the solution to your problem: You should call drag.accept() within > the onEntered slot. Then it wi

Re: [Development] QML DropArea documentation unhelpful

2014-05-14 Thread Ben Lau
well , I also think that the document about Drag and Drop is not clear enough.. Reading from example code is more easy to understand. Anyway , the solution to your problem: You should call drag.accept() within the onEntered slot. Then it will enable the onDropped slot to be executed. http://qt-pr

[Development] QML DropArea documentation unhelpful

2014-05-14 Thread Kevin Funk
Hey, I'm trying to get my head around the QML Drag and Drop API and keep finding oddities. (I've already posted some bugs and CRs in order to improve the situation). But here's a new one: DropArea has a 'onDropped' signal, that is supposed to be emitted "when a drop event occurs within the bou