QMdiarea with multiple QGLwidget windows with cursors in each window
I'm trying to display "linked" images (say an original and an enhanced version) and as I move the mouse in the primary GLWidget window I want a 2nd cursor to "track" my primary system cursor location in the 2nd window. Can I do this with QCursor? All the setPos() and mapFromGlobal() calls always give me screen coordinates - not widget coordinates. And when I call setPos() both with and without calls to mapFromGlobal() the cursor jumps out of my mdiApp to the top left of the screen.
If I can't use QCursor, would I be better off using OpenGL or Qt Paint functions to create my 2nd cursor?