org.kde.qt

Class QGLContext

public class QGLContext extends QGL

Constructor Summary
protected QGLContext(Class dummy)
QGLContext(QGLFormat format, QPaintDeviceInterface device)
QGLContext(QGLFormat format)
Method Summary
protected booleanchooseContext(QGLContext shareContext)
protected booleanchooseContext()
protected intcolorIndex(QColor c)
booleancreate(QGLContext shareContext)
booleancreate()
static QGLContextcurrentContext()
QPaintDeviceInterfacedevice()
protected booleandeviceIsPixmap()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voiddoneCurrent()
protected voidfinalize()
Deletes the wrapped C++ instance
QGLFormatformat()
protected voidgenerateFontDisplayLists(QFont fnt, int listBase)
protected booleaninitialized()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanisSharing()
booleanisValid()
voidmakeCurrent()
QColoroverlayTransparentColor()
QGLFormatrequestedFormat()
voidreset()
protected voidsetDevice(QPaintDeviceInterface pDev)
voidsetFormat(QGLFormat format)
protected voidsetInitialized(boolean on)
protected voidsetValid(boolean valid)
protected voidsetWindowCreated(boolean on)
voidswapBuffers()
protected booleanwindowCreated()

Constructor Detail

QGLContext

protected QGLContext(Class dummy)

QGLContext

public QGLContext(QGLFormat format, QPaintDeviceInterface device)

QGLContext

public QGLContext(QGLFormat format)

Method Detail

chooseContext

protected boolean chooseContext(QGLContext shareContext)

chooseContext

protected boolean chooseContext()

colorIndex

protected int colorIndex(QColor c)

create

public boolean create(QGLContext shareContext)

create

public boolean create()

currentContext

public static QGLContext currentContext()

device

public QPaintDeviceInterface device()

deviceIsPixmap

protected boolean deviceIsPixmap()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

doneCurrent

protected void doneCurrent()

finalize

protected void finalize()
Deletes the wrapped C++ instance

format

public QGLFormat format()

generateFontDisplayLists

protected void generateFontDisplayLists(QFont fnt, int listBase)

initialized

protected boolean initialized()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

isSharing

public boolean isSharing()

isValid

public boolean isValid()

makeCurrent

public void makeCurrent()

overlayTransparentColor

public QColor overlayTransparentColor()

requestedFormat

public QGLFormat requestedFormat()

reset

public void reset()

setDevice

protected void setDevice(QPaintDeviceInterface pDev)

setFormat

public void setFormat(QGLFormat format)

setInitialized

protected void setInitialized(boolean on)

setValid

protected void setValid(boolean valid)

setWindowCreated

protected void setWindowCreated(boolean on)

swapBuffers

public void swapBuffers()

windowCreated

protected boolean windowCreated()