View Full Version : Mouse Capturing

24th August 2006, 20:36
I am using a QGLWidget and I want the ability to pick things. I know I can capture the screen coordinates of the mouse, but is there a functionality to convert the screen coordinates to the world coordinates of my QGLWidget? I was thinking with everything else Qt provides that maybe they would provide something like this but cannot seem to find it in the documentation or the Qt4 book. Thanks for your help!

24th August 2006, 20:37
I'm not sure, but you'll probably need a OpenGL function to get this info