Hi Olivier.

Hi.

Sorry for the delay, here's my version of the QGLWidget using the passive window (obviously not cleaned up at all, adjust it to your needs).

the System::the()->... calls in paintGL must be replaced with something like _passiveWin->render(yourAction) (this is what happens inside of my methods...)


I tried Dominik solution, and it works. However, have to do everything by hand, not using QtDesigner. If someone need this small sample ...


As I said: If you just use the QGLWidget in the designer and use the "promote to", you don't have to do anything manually, see http://doc.trolltech.com/4.4/designer-using-custom-widgets.html#promoting-widgets

Yours,
Dominik

Attachment: RVQGLWidget .cpp
Description: Binary data

Attachment: RVQGLWidget.h
Description: Binary data






Olivier



If not, it probably doesn't work. We're using QT at our place so I'll
probably take a look at designer-plugins within a few months. If I come
up with something I'll get back to the mail list about making the
OpenSG-QT work properly in QtDesigner.

/Marcus


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users



--
Olivier Tournaire
MATIS - Institut Géographique National
73, Ave de Paris
94165 St Mandé cedex, France

tel: (+33) 1 43 98 80 00 - 71 25
fax: (+33) 1 43 98 85 81
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to