Question

As the photo below shows, I want to get the mouse position on the canvas while dropping a QListWidgetItem to the canvas, this mouse position will facilitate to me getting the object I dropped the item on.

More explanation: The dragging and dropping will be in my canvas class, I want to check if the dragging and dropping is from the QListWidgetItems, and if so it will get the current mouse position.

Drag QListWidgetItem to the Ogre canvas

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top