Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.0
-
None
Description
It is not possible to easy change the current drag cursor with a custom icon/pixmap, when hovering on possible target widget insert areas.
When a drag and drop operation starts on the source widget, a QDrag object is created. After this Qt takes ownership.
In the target widget, where the droping takes place, it is not possible to get the current QDrag object pointer and call QDrag::setDragCursor(...)
http://www.qtcentre.org/threads/7603-cursor-pixmap-during-drag-amp-drop
http://stackoverflow.com/questions/5456674/qt-set-custom-drag-cursor
Attachments
Issue Links
- relates to
-
QTBUG-26724 QDrag setDragCursor allow change cursor for Qt::IgnoreAction
- Closed
- replaces
-
QTBUG-4469 Make it possible to change the cursor/pixmap after a drag has started
- Closed