Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get the pixel coordinates of an image under the mouse cursor
kio.marv last edited by kio.marv
I have a QGraphicsScene with a pixmap inserted in it. I'm trying to check the pixel coordinate that is under the mouse cursor.
Will mapToScene() suffice or do I need to do some math?
PS: The idea is to achieve the same as gluUnproject in OpenGL.