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 <[email protected]>
Date: Tue, Mar 17, 2009 at 1:04 PM
Subject: Fwd: [osg-users] creating widget for Qt
To: [email protected]
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 <[email protected]>
Date: Tue, Mar 17, 2009 at 12:59 PM
Subject: Fwd: [osg-users] creating widget for Qt
To: [email protected]
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 <[email protected]>
Date: 2009/3/16
Subject: Re: [osg-users] creating widget for Qt
To: [email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org