Hi Julien,
no I would like to show a Qt Widget in an osgWidget::Window.

I found an example that shows a Qt Widget in a HUD (with camera and so on)  but 
in that case I have two problems:
1) global coordinates sent to the Qt widget by 
osgViewer::InteractiveImageHandler are wrong (I debugged the code and coords 
are sent to the Qt widget wrt the 3D viewer widget, so not "global" like in Qt 
framework are usually handled, at least in my scenario).
2) I would like to drag and resize the widget and osgwidget::Window and that 
can be easily done with: window->attachMoveCallback() and attachScaleCallback().

Regards,
Gianni

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to