Convert QGraphicsSceneDragDropEvent to QDragMoveEvent
Unsolved
General and Desktop
-
Hello,
How to convert QGraphicsSceneDragDropEvent to QDragMoveEvent ?
Inside this function :
void DragAndDropObj::dragMoveEvent(QGraphicsSceneDragDropEvent *event)Thx
-
Hi,
What is your final goal ?
-
I want to set up the answerRect that is on the DragMoveEvent for use in the dragMoveEvent
To limit the mouse mouvement allowed during the Drag inside a given rectangle.
-
Usually when one wants to enforce the movement of a mouse cursor to a specific area, they do so by hiding the real mouse cursor and manage a "virtual cursor".
-
Hello,
could you send me the main instructions to do it ?
Thx