> Turn on the mouse tracking in your constructor. it is off by default
in QGLWidget.

 

m_pVisViewerQt->setMouseTracking(true);

This worked perfect, thank you!

Cheers,

Tobias

 

________________________________

Von: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] Im Auftrag von
Nishant Singh
Gesendet: Freitag, 29. Januar 2010 06:40
An: osg-users@lists.openscenegraph.org
Betreff: Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

 

Turn on the mouse tracking in your constructor. it is off by default in
QGLWidget.

 

setMouseTracking(true);

On Thu, Jan 28, 2010 at 7:25 PM, Tobias Bellmann
<tobias.bellm...@dlr.de> wrote:

Hi,

I know this thread is a little bit old, but I've got the same symptoms
in my QT Embedded CompositeViewer. The EventQueue of a view seems to
never contain any osgGA::GUIEventAdapter::MOVE Events, but
osgGA::GUIEventAdapter::PRESSED are generated.

My CompositeViewer class definiton:

class CompositeViewerQt: public osgViewer::CompositeViewer, public
AdapterWidget



> ive fixed my problem.
>
> the reason was glut
> ive forgotten to declare a passiveMouse Callback


could anyone explain this solution in a little more detail, and how to
perform this with osg?

Thank you!

Cheers,
Tobias

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23355#23355





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g

 

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to