I have a window that contains two QGLWidget. I can use mouse button event, mouse position and key event to move my 3D objects but It is like the whee event doesn't work. I add setFocusPolicy(Qt::StrongFocus); for both of my QGLWidget but It still the same...
I miss something ? Event if I click before on the widget.
Qt Code:
screen2DGL->setZoom(event->delta()); repaint(); }To copy to clipboard, switch view to plain text mode
Bookmarks