PDA

View Full Version : Mouse Capturing



ToddAtWSU
24th August 2006, 19: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!

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