Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

OpenGL Box Example

This example demonstrates how to use OpenGL in TQt.

Essentially, all you do is put your OpenGL code in a class inherited from TQGLWidget. This class may then be used like any other TQt widget, including the use of signals and slots and geometry management.

See $QTDIR/examples/opengl/box for the source code.

See also OpenGL Examples.


Copyright © 2007 TrolltechTrademarks
TQt 3.3.8