QGL(3qt)
π QGL β qt manual page, bestie edition
okay so you're looking at QGL(3qt), which is the qt manual page, section 3qt. it's giving "namespace vibes" and honestly? iconic. let's get into it π«Ά
β¨ NAME β¨
QGL β Namespace for miscellaneous identifiers in the Qt OpenGL module
π SYNOPSIS π
#include <qgl.h>
Inherited by QGLFormat, QGLContext, and QGLWidget.
π Public Members π
enum FormatOption { DoubleBuffer = 0x0001, DepthBuffer = 0x0002, Rgba =
0x0004, AlphaChannel = 0x0008, AccumBuffer = 0x0010, StencilBuffer =
0x0020, StereoBuffers = 0x0040, DirectRendering = 0x0080, HasOverlay
= 0x0100, 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
}
π DESCRIPTION π
so the QGL class is literally just a namespace for miscellaneous identifiers in the Qt OpenGL module. that's it. that's the whole job. main character energy but make it a namespace β¨
most of the time you can just ignore this class entirely. QGLWidget and the other OpenGL* module classes inherit it, so when you make your own QGLWidget subclass you can use the identifiers in the QGL namespace without qualification. no extra typing, no stress, we love that for you π
but β and this is the part where it gets real β sometimes you'll find yourself in situations where you need to refer to these identifiers from outside the QGL namespace's scope, like in static functions. and in those cases? bestie, you simply write e.g. QGL::DoubleBuffer instead of just DoubleBuffer. periodt. that's the fix. π¦
* OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries.
See also Graphics Classes and Image Processing Classes.
π§ Member Type Documentation π§
β QGL::FormatOption β
this enum specifies the format options. here's the whole lineup, no gatekeeping:
QGL::DoubleBufferQGL::DepthBufferQGL::RgbaQGL::AlphaChannelQGL::AccumBufferQGL::StencilBufferQGL::StereoBuffersQGL::DirectRenderingQGL::HasOverlayQGL::SingleBufferQGL::NoDepthBufferQGL::ColorIndexQGL::NoAlphaChannelQGL::NoAccumBufferQGL::NoStencilBufferQGL::NoStereoBuffersQGL::IndirectRenderingQGL::NoOverlay
π₯ SEE ALSO π₯
π COPYRIGHT π
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.
πΈ AUTHOR πΈ
Generated automatically from the source code.
π BUGS π
if you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. good bug reports help us to help you. thank you. π«Ά
the definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. this man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. ngl, they said it themselves.
if you find errors in this manual page, please report them to qt-bugs@trolltech.com. please include the name of the manual page (qgl.3qt) and the Qt version (3.3.8). iykyk π
and that's the whole page, bestie π courtesy of Trolltech AS, dated 2 February 2007, living in Qt version 3.3.8. slay, go forth and namespace responsibly β¨π π
π¦ where this page comes from
- fedora 43: qt3-devel-docs 3.3.8b-102.fc43 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- fedora 44: qt3-devel-docs 3.3.8b-103.fc44 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms