QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
qtscriptshell_QGLContext.h
Go to the documentation of this file.
1
#ifndef QTSCRIPTSHELL_QGLCONTEXT_H
2
#define QTSCRIPTSHELL_QGLCONTEXT_H
3
4
#include <qgl.h>
5
6
#include <QtScript/qscriptvalue.h>
7
8
class
QtScriptShell_QGLContext
:
public
QGLContext
9
{
10
public
:
11
QtScriptShell_QGLContext
(
const
QGLFormat& format);
12
QtScriptShell_QGLContext
(
const
QGLFormat& format, QPaintDevice* device);
13
~QtScriptShell_QGLContext
();
14
15
bool
chooseContext
(
const
QGLContext* shareContext = 0);
16
bool
create
(
const
QGLContext* shareContext = 0);
17
void
doneCurrent
();
18
void
makeCurrent
();
19
void
swapBuffers
()
const
;
20
21
QScriptValue
__qtscript_self
;
22
};
23
24
#endif // QTSCRIPTSHELL_QGLCONTEXT_H
src
scripting
qt-labs-qtscriptgenerator-4.8.1
generated_cpp
com_trolltech_qt_opengl
qtscriptshell_QGLContext.h
Generated on Tue Jun 26 2012 18:41:11 for QCAD Application Framework by
1.8.1.1