hey folks,
I have a custom widget based off of a QGLWidget.
I set the widget's parent equal to a QFrame:
DrawWindow = new CTHV( myQFrame, 0, this);
and the widget shows up just fine on screen.
My problem is this: I can't get the QGLWidget to catch mouse clicks/keyboard events. The focus policy is set to QWidget::WheelFocus.
I've tried using setFocusProxy(DrawWindow) and it didn't work either.
Any ideas?
Thanks,
philski
Bookmarks