QGL(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’… 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::DoubleBuffer
  • QGL::DepthBuffer
  • QGL::Rgba
  • QGL::AlphaChannel
  • QGL::AccumBuffer
  • QGL::StencilBuffer
  • QGL::StereoBuffers
  • QGL::DirectRendering
  • QGL::HasOverlay
  • QGL::SingleBuffer
  • QGL::NoDepthBuffer
  • QGL::ColorIndex
  • QGL::NoAlphaChannel
  • QGL::NoAccumBuffer
  • QGL::NoStencilBuffer
  • QGL::NoStereoBuffers
  • QGL::IndirectRendering
  • QGL::NoOverlay

πŸ”₯ SEE ALSO πŸ”₯


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