Drag&drop with custom cursor
General and Desktop
4
Posts
3
Posters
3.7k
Views
1
Watching
-
Is it possible to modify drag& drop process so that I can chage pixmap and hotspot on every mouse move? Specifically I only want to allow the user to drag elements up and down, but not sideways.
-
Changing picture is possible only before drag starting (via QDrag::setPixmap()).
-
It seems that the only way is to create another widget and move it in dragMove event. Haven't tried it yet but seems like a fine solution.