Hi Wang Rui, On Wed, Mar 10, 2010 at 1:11 PM, Robert Osfield <[email protected]>wrote:
> My inclination would be to have QWidgetImage be subclassed from osg::Image > directly and not have anything to do with the BrowserImage. > 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
