[Qt-interest] Fwd: [osg-users] creating widget for Qt

ami guru dosto.walla at gmail.com
Tue Mar 17 13:04:12 CET 2009


Hello Ivan


i shall try to elaborate the way i implemented that and your feedback is
most welcome on that.


1. Separated the following files from the osgviewerQT example.

    AdapterWidget.h
   AdapterWidget.cpp
   ViewerQT.h
And promoted the widget to the ViewerQT.h

Loading the widget in the mainwindow and can load different model.

And i did not recieve any warning so far.

Yo said that you are having that while paint event(),


Where are you exactly having that paint event() ?


Did you mean that in the AdapterWidget that is the subclass of GLWidget?


Regards
Sajjad


---------- Forwarded message ----------
From: ami guru <dosto.walla at gmail.com>
Date: Tue, Mar 17, 2009 at 12:59 PM
Subject: Fwd: [osg-users] creating widget for Qt
To: qt-interest at trolltech.com


Hello Ivan


i shall try to elaborate the way i implemented that and your feedback is
most welcome on that.


1. Separated the following files from the osgviewerQT example.

    AdapterWidget.h


---------- Forwarded message ----------
From: Iván Cuevas <osgforum at tevs.eu>
Date: 2009/3/16
Subject: Re: [osg-users] creating widget for Qt
To: osg-users at lists.openscenegraph.org


I don't use .pro files, but I have to include the OpenGL module because I
extend from QGLWidget.

Regards,
Iván.

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





_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090317/e8e08947/attachment.html 


More information about the Qt-interest-old mailing list