Hello all,
I have a question of the QGLWidget-class: is it possible to get the current position of the mouse (x and y) and even change that position.
For getting the position I might have a solution: I know the QMouseEvent()-function is being called each time the user moves his mouse (if tracking is enabled), so I can update a member variable, like m_x and m_y, each time that function is invoked by QT. However, I suppose QT has a built-in function which gives me the position of the mouse, but I don't see it in the function-list of the class.
For the second I couldn't find something in the docs and this mailinglist, so I hope one of you can help me with this.
Thanks for your time!