Possibility to change custom Drag&Drop cursors while dragging something. Implementati...
authorCyril Oblikov <munknex@gmail.com>
Thu, 27 Sep 2012 14:55:16 +0000 (17:55 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Oct 2012 15:08:03 +0000 (17:08 +0200)
commit38e02188ee132fd8c483fcb9773979875677c070
treed955d6be7d03505c049664c069c8a2027eb9c999
parent80e87c0241fb2b82e4f44ce7228764514ddb00e5
Possibility to change custom Drag&Drop cursors while dragging something. Implementation for Windows and X11.

Additional checks to figure out if new Drag&Drop cursors where set. This means it is possible now to keep QDrag object in your program and call setDragCursor() method every time we need to change cursor depending on context.

Change-Id: I4be69e44b2863371a7ffbb29efc17c18210d6cde
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/platformsupport/dnd/qsimpledrag.cpp
src/plugins/platforms/windows/qwindowsdrag.cpp