Hi,
I try to add a keyboard manipulator in one view of the Examples osgviewerQt
like this
Code:
QWidget* addViewWidget( osgQt::GraphicsWindowQt* gw, osg::Group* scene )
{
osgViewer::View* view = new osgViewer::View;
addView( view );
......
view->setCameraManipulator(new KeyboardlManipulator);
view->setSceneData( scene );
return gw->getGLWidget();
}
And other Widgets do not have the manipulator. Now only when I move the mouse
on this QWidget the manipulator can get the keyboard message. But I want this
QWidget can always response the keyboard message. What should I do?
Thank you!
Cheers,
He
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57899#57899
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org