Hi Robert, Great. Now we could start building an OSG version of the wolfenqt example (http://labs.trolltech.com/blogs/2008/12/02/widgets-enter-the-third-dimension-wolfenqt/).
I subclassed from BrowserImage class before simply because of lazy. I could benefit from osgWidget::Browser directly when implementing the osgQtBrowser example, without more coding work. It seems that I have to become hard-working next time. :-) Wang Rui 2010/3/10 Robert Osfield <[email protected]>: > I have just modified your QWidgetImage class to subclass from osg::Image, > renamed focusBrowser(bool) to focusWidget(bool) and removed the > navigateTo(std::string&) as this is not relevant for a general Image class. > With these changes I've checked it into svn/trunk. > > I haven't modified osgQtBrowser example to use your class, as I feel that a > dedicated example would be ideal - one could get pretty elaborate > demonstrating many different elements of Qt and OSG integration. > > Robert. > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
