[osg-users] Fwd: creating widget for Qt

ami guru dosto.walla at gmail.com
Tue Mar 17 05:06:15 PDT 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 1:04 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
   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.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090317/f9789cea/attachment-0003.htm>


More information about the osg-users mailing list