Qt-interest Archive, July 2007
QtDesigner and opengl
Message 1 in thread
Hi all
In QtDisigner, I'm trying to add a QGLWidget to a form. But I can't find any opengl widget.
Could anyone help me out?
Thx
Message 2 in thread
Hi,
I don't know if this product could be useful to you, but it uses opengl
and has a lot of basic feature you don't need to worry about using th
simple widget viewer :
http://artis.imag.fr/Software/QGLViewer/
--
[ signature omitted ]
Message 3 in thread
"Yifei Li" <yifli@xxxxxxx> wrote in message
news:f7teto$2rj$1@xxxxxxxxxxxxxxxxxxxxx
> Hi all
>
> In QtDisigner, I'm trying to add a QGLWidget to a form. But I can't find
> any opengl widget.
>
> Could anyone help me out?
QGLWidget has abstract semantics - it is quite meaningless unless you
subclass it to reimplement paintGL etc. or paintEvent to implement your
scene.
http://doc.trolltech.com/4.3/qglwidget.html#paintGL
Thus, support for a plain QGLWidget is not very useful, and you can
support your subclass through the existing custom-widget infrastructure
(plugin or promotion).
Volker
--
[ signature omitted ]