Review Request 126064: [DragArea] Add dragActive property

Kai Uwe Broulik kde at privat.broulik.de
Sat Nov 14 23:53:56 UTC 2015



> On Nov. 14, 2015, 11:44 nachm., Aleix Pol Gonzalez wrote:
> > How come we never needed this? (nor Qt did)

Probably because we never had a Drag and Drop Area in the same location with visible side-effects if an item is dropped onto itself. Also if you're not lazy like me you could add a property bool yourself that is updated in onDragStarted and onDrop.


- Kai Uwe


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126064/#review88368
-----------------------------------------------------------


On Nov. 14, 2015, 3:59 nachm., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126064/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2015, 3:59 nachm.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: kdeclarative
> 
> 
> Description
> -------
> 
> It allows to query whether a drag is currently ongoing. This eases avoiding dropping something onto itself when it has both DragArea and DropArea
> 
> 
> Diffs
> -----
> 
>   src/qmlcontrols/draganddrop/DeclarativeDragArea.h 6cb682d 
>   src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp 3afaa62 
> 
> Diff: https://git.reviewboard.kde.org/r/126064/diff/
> 
> 
> Testing
> -------
> 
> Works
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151114/38876973/attachment.html>


More information about the Plasma-devel mailing list