View Full Version : Drag and drop between 2 graphics views

19th December 2009, 20:32

In my app (a board game) I have the board as a graphicsview and have graphics items on another graphicsview all contained in a qwidget. I'd like to be able to drag and drop items between the widget and the board. Is it feasible to have D & D between different graphics views.

19th December 2009, 21:08
Yes, it is.

19th December 2009, 21:48
Ok, then how do I implement D&D between two graphicsviews, one atop a qwidget and the second on a graphicsscene ?

19th December 2009, 22:00
Make one of them accept mime types of drags performed by the other one, as usual.