I have a QGraphicsItem descendant that has flag ItemIsSelectable set.
Now I want to extend its behaviour allowing the user to drag and drop the item onto another item of the scene.
To do this, I studied the dragdroprobot demo and I overrided
mousePressEvent;
mouseMoveEvent;
mouseReleaseEvent;
like shown in the demo sources.
But, after this, the selection of the item is no more possible.
What should I do to fix this issue and get the item selectable and also droppable?
Is there any other demo or source that I could study?
Bookmarks