Magnus Kessler wrote: > On Wednesday 26 Sep 2012 11:33:44 Max Sergeev wrote: > You can stop a Viewer from exiting on Escape by calling > > viewer.setKeyEventSetsDone(0); > > on it. > > The osgvnc example is using this, for instance. See the ViewerBase > documentation for more information about this. >
Thanks for the answer, it does block the Escape key I suppose, but still didnt solve my problem: qt controls on click of Escape key still change their positions and become unclickable. I thought there could be some more global way, like blocking the key events for whole application -- like they just are not clicked. Will do check the example and documentation you suggested, thanks. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50340#50340 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

