- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

Classes | Namespaces | Enumerations | Functions

# qgl.h File Reference

`#include <QtGui/qwidget.h>`
`#include <QtGui/qpaintengine.h>`
`#include <QtOpenGL/qglcolormap.h>`
`#include <QtCore/qmap.h>`
`#include <QtCore/qscopedpointer.h>`
`#include <GL/gl.h>`
`#include <GL/glu.h>`

Go to the source code of this file.

## Classes
class | QGLFormat
class | QGLContext
class | QGLWidget
## Namespaces
namespace | QGL
## Enumerations
enum | FormatOption { DoubleBuffer = 0x0001, DepthBuffer = 0x0002, Rgba = 0x0004, AlphaChannel = 0x0008, AccumBuffer = 0x0010, StencilBuffer = 0x0020, StereoBuffers = 0x0040, DirectRendering = 0x0080, HasOverlay = 0x0100, SampleBuffers = 0x0200, DeprecatedFunctions = 0x0400, SingleBuffer = DoubleBuffer << 16, NoDepthBuffer = DepthBuffer << 16, ColorIndex = Rgba << 16, NoAlphaChannel = AlphaChannel << 16, NoAccumBuffer = AccumBuffer << 16, NoStencilBuffer = StencilBuffer << 16, NoStereoBuffers = StereoBuffers << 16, IndirectRendering = DirectRendering << 16, NoOverlay = HasOverlay << 16, NoSampleBuffers = SampleBuffers << 16, NoDeprecatedFunctions = DeprecatedFunctions << 16 }
## Functions
Q_OPENGL_EXPORT void | setPreferredPaintEngine (QPaintEngine::Type engineType)
Q_OPENGL_EXPORT bool | operator== (const QGLFormat &, const QGLFormat &)
Q_OPENGL_EXPORT bool | operator!= (const QGLFormat &, const QGLFormat &)
Q_OPENGL_EXPORT QDebug | operator<< (QDebug, const QGLFormat &)

## Function Documentation

Q_OPENGL_EXPORT bool operator== | ( | const QGLFormat & | ,
|  | const QGLFormat & |
| ) |  |

Q_OPENGL_EXPORT bool operator!= | ( | const QGLFormat & | ,
|  | const QGLFormat & |
| ) |  |

Q_OPENGL_EXPORT QDebug operator<< | ( | QDebug | ,
|  | const QGLFormat & |
| ) |  |