Hi Martin, Is this particular email and actual submission, or just a progress report... If you wish to make it a submission could you post the whole modified file as doing copy and paste merges is too prone to error for me to trust.
Cheers, Robert. On Fri, Mar 20, 2009 at 12:00 AM, Martin Beckett <[email protected]> wrote: > I'm still having problems with QOSGWidget on Qt4.5 so to make the mouse > wheel work in AdapterWidget you need to add this function > > > Code: > > virtual void wheelEvent(QWheelEvent *event); > > > void AdapterWidget::wheelEvent(QWheelEvent *event) > { > _gw->getEventQueue()->mouseScroll((event->delta()>0) ? > osgGA::GUIEventAdapter::ScrollingMotion::SCROLL_DOWN > : > > osgGA::GUIEventAdapter::ScrollingMotion::SCROLL_UP); > } > > > > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=8814#8814 > > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
