1QGL(3qt)                                                              QGL(3qt)
2
3
4

NAME

6       QGL - Namespace for miscellaneous identifiers in the Qt OpenGL module
7

SYNOPSIS

9       #include <qgl.h>
10
11       Inherited by QGLFormat, QGLContext, and QGLWidget.
12
13   Public Members
14       enum FormatOption { DoubleBuffer = 0x0001, DepthBuffer = 0x0002, Rgba =
15           0x0004, AlphaChannel = 0x0008, AccumBuffer = 0x0010, StencilBuffer
16           = 0x0020, StereoBuffers = 0x0040, DirectRendering = 0x0080,
17           HasOverlay = 0x0100, SingleBuffer = DoubleBuffer<<16, NoDepthBuffer
18           = DepthBuffer<<16, ColorIndex = Rgba<<16, NoAlphaChannel =
19           AlphaChannel<<16, NoAccumBuffer = AccumBuffer<<16, NoStencilBuffer
20           = StencilBuffer<<16, NoStereoBuffers = StereoBuffers<<16,
21           IndirectRendering = DirectRendering<<16, NoOverlay = HasOverlay<<16
22           }
23

DESCRIPTION

25       The QGL class is a namespace for miscellaneous identifiers in the Qt
26       OpenGL module.
27
28       Normally you can ignore this class. QGLWidget and the other
29       OpenGL<sup>*</sup> module classes inherit it, so when you make your own
30       QGLWidget subclass you can use the identifiers in the QGL namespace
31       without qualification.
32
33       However, you may occasionally find yourself in situations where you
34       need to refer to these identifiers from outside the QGL namespace's
35       scope, e.g. in static functions. In such cases, simply write e.g.
36       QGL::DoubleBuffer instead of just DoubleBuffer.
37
38       <sup>*</sup> OpenGL is a trademark of Silicon Graphics, Inc. in the
39       United States and other countries.
40
41       See also Graphics Classes and Image Processing Classes.
42
43   Member Type Documentation

QGL::FormatOption

45       This enum specifies the format options.
46
47       QGL::DoubleBuffer
48
49       QGL::DepthBuffer
50
51       QGL::Rgba
52
53       QGL::AlphaChannel
54
55       QGL::AccumBuffer
56
57       QGL::StencilBuffer
58
59       QGL::StereoBuffers
60
61       QGL::DirectRendering
62
63       QGL::HasOverlay
64
65       QGL::SingleBuffer
66
67       QGL::NoDepthBuffer
68
69       QGL::ColorIndex
70
71       QGL::NoAlphaChannel
72
73       QGL::NoAccumBuffer
74
75       QGL::NoStencilBuffer
76
77       QGL::NoStereoBuffers
78
79       QGL::IndirectRendering
80
81       QGL::NoOverlay
82
83

SEE ALSO

85       http://doc.trolltech.com/qgl.html
86       http://www.trolltech.com/faq/tech.html
87
89       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
90       license file included in the distribution for a complete license
91       statement.
92

AUTHOR

94       Generated automatically from the source code.
95

BUGS

97       If you find a bug in Qt, please report it as described in
98       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
99       help you. Thank you.
100
101       The definitive Qt documentation is provided in HTML format; it is
102       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
103       web browser. This man page is provided as a convenience for those users
104       who prefer man pages, although this format is not officially supported
105       by Trolltech.
106
107       If you find errors in this manual page, please report them to qt-
108       bugs@trolltech.com.  Please include the name of the manual page
109       (qgl.3qt) and the Qt version (3.3.8).
110
111
112
113Trolltech AS                    2 February 2007                       QGL(3qt)
Impressum