1class pyqtSignal():
2 def connect(self, targetSignal): pass
3 def emit(self, *args): pass
4from QtCore import *
5
6from QtWidgets import *
7
8import datetime
9
10class QGL():
11    """"""
12    # Enum QGL.FormatOption
13    DoubleBuffer = 0
14    DepthBuffer = 0
15    Rgba = 0
16    AlphaChannel = 0
17    AccumBuffer = 0
18    StencilBuffer = 0
19    StereoBuffers = 0
20    DirectRendering = 0
21    HasOverlay = 0
22    SampleBuffers = 0
23    SingleBuffer = 0
24    NoDepthBuffer = 0
25    ColorIndex = 0
26    NoAlphaChannel = 0
27    NoAccumBuffer = 0
28    NoStencilBuffer = 0
29    NoStereoBuffers = 0
30    IndirectRendering = 0
31    NoOverlay = 0
32    NoSampleBuffers = 0
33    DeprecatedFunctions = 0
34    NoDeprecatedFunctions = 0
35
36    class FormatOptions():
37        """"""
38        def __init__(self):
39            '''QGL.FormatOptions QGL.FormatOptions.__init__()'''
40            return QGL.FormatOptions()
41        def __init__(self):
42            '''int QGL.FormatOptions.__init__()'''
43            return int()
44        def __init__(self):
45            '''void QGL.FormatOptions.__init__()'''
46        def __bool__(self):
47            '''int QGL.FormatOptions.__bool__()'''
48            return int()
49        def __ne__(self, f):
50            '''bool QGL.FormatOptions.__ne__(QGL.FormatOptions f)'''
51            return bool()
52        def __eq__(self, f):
53            '''bool QGL.FormatOptions.__eq__(QGL.FormatOptions f)'''
54            return bool()
55        def __invert__(self):
56            '''QGL.FormatOptions QGL.FormatOptions.__invert__()'''
57            return QGL.FormatOptions()
58        def __and__(self, mask):
59            '''QGL.FormatOptions QGL.FormatOptions.__and__(int mask)'''
60            return QGL.FormatOptions()
61        def __xor__(self, f):
62            '''QGL.FormatOptions QGL.FormatOptions.__xor__(QGL.FormatOptions f)'''
63            return QGL.FormatOptions()
64        def __xor__(self, f):
65            '''QGL.FormatOptions QGL.FormatOptions.__xor__(int f)'''
66            return QGL.FormatOptions()
67        def __or__(self, f):
68            '''QGL.FormatOptions QGL.FormatOptions.__or__(QGL.FormatOptions f)'''
69            return QGL.FormatOptions()
70        def __or__(self, f):
71            '''QGL.FormatOptions QGL.FormatOptions.__or__(int f)'''
72            return QGL.FormatOptions()
73        def __int__(self):
74            '''int QGL.FormatOptions.__int__()'''
75            return int()
76        def __ixor__(self, f):
77            '''QGL.FormatOptions QGL.FormatOptions.__ixor__(QGL.FormatOptions f)'''
78            return QGL.FormatOptions()
79        def __ior__(self, f):
80            '''QGL.FormatOptions QGL.FormatOptions.__ior__(QGL.FormatOptions f)'''
81            return QGL.FormatOptions()
82        def __iand__(self, mask):
83            '''QGL.FormatOptions QGL.FormatOptions.__iand__(int mask)'''
84            return QGL.FormatOptions()
85
86
87class QGLFormat():
88    """"""
89    # Enum QGLFormat.OpenGLContextProfile
90    NoProfile = 0
91    CoreProfile = 0
92    CompatibilityProfile = 0
93
94    # Enum QGLFormat.OpenGLVersionFlag
95    OpenGL_Version_None = 0
96    OpenGL_Version_1_1 = 0
97    OpenGL_Version_1_2 = 0
98    OpenGL_Version_1_3 = 0
99    OpenGL_Version_1_4 = 0
100    OpenGL_Version_1_5 = 0
101    OpenGL_Version_2_0 = 0
102    OpenGL_Version_2_1 = 0
103    OpenGL_Version_3_0 = 0
104    OpenGL_Version_3_1 = 0
105    OpenGL_Version_3_2 = 0
106    OpenGL_Version_3_3 = 0
107    OpenGL_Version_4_0 = 0
108    OpenGL_Version_4_1 = 0
109    OpenGL_Version_4_2 = 0
110    OpenGL_Version_4_3 = 0
111    OpenGL_ES_Common_Version_1_0 = 0
112    OpenGL_ES_CommonLite_Version_1_0 = 0
113    OpenGL_ES_Common_Version_1_1 = 0
114    OpenGL_ES_CommonLite_Version_1_1 = 0
115    OpenGL_ES_Version_2_0 = 0
116
117    def __init__(self):
118        '''void QGLFormat.__init__()'''
119    def __init__(self, options, plane = 0):
120        '''void QGLFormat.__init__(QGL.FormatOptions options, int plane = 0)'''
121    def __init__(self, other):
122        '''void QGLFormat.__init__(QGLFormat other)'''
123    def __eq__(self):
124        '''QGLFormat QGLFormat.__eq__()'''
125        return QGLFormat()
126    def __ne__(self):
127        '''QGLFormat QGLFormat.__ne__()'''
128        return QGLFormat()
129    def profile(self):
130        '''QGLFormat.OpenGLContextProfile QGLFormat.profile()'''
131        return QGLFormat.OpenGLContextProfile()
132    def setProfile(self, profile):
133        '''void QGLFormat.setProfile(QGLFormat.OpenGLContextProfile profile)'''
134    def minorVersion(self):
135        '''int QGLFormat.minorVersion()'''
136        return int()
137    def majorVersion(self):
138        '''int QGLFormat.majorVersion()'''
139        return int()
140    def setVersion(self, major, minor):
141        '''void QGLFormat.setVersion(int major, int minor)'''
142    def openGLVersionFlags(self):
143        '''static QGLFormat.OpenGLVersionFlags QGLFormat.openGLVersionFlags()'''
144        return QGLFormat.OpenGLVersionFlags()
145    def swapInterval(self):
146        '''int QGLFormat.swapInterval()'''
147        return int()
148    def setSwapInterval(self, interval):
149        '''void QGLFormat.setSwapInterval(int interval)'''
150    def blueBufferSize(self):
151        '''int QGLFormat.blueBufferSize()'''
152        return int()
153    def setBlueBufferSize(self, size):
154        '''void QGLFormat.setBlueBufferSize(int size)'''
155    def greenBufferSize(self):
156        '''int QGLFormat.greenBufferSize()'''
157        return int()
158    def setGreenBufferSize(self, size):
159        '''void QGLFormat.setGreenBufferSize(int size)'''
160    def redBufferSize(self):
161        '''int QGLFormat.redBufferSize()'''
162        return int()
163    def setRedBufferSize(self, size):
164        '''void QGLFormat.setRedBufferSize(int size)'''
165    def sampleBuffers(self):
166        '''bool QGLFormat.sampleBuffers()'''
167        return bool()
168    def hasOverlay(self):
169        '''bool QGLFormat.hasOverlay()'''
170        return bool()
171    def directRendering(self):
172        '''bool QGLFormat.directRendering()'''
173        return bool()
174    def stereo(self):
175        '''bool QGLFormat.stereo()'''
176        return bool()
177    def stencil(self):
178        '''bool QGLFormat.stencil()'''
179        return bool()
180    def accum(self):
181        '''bool QGLFormat.accum()'''
182        return bool()
183    def alpha(self):
184        '''bool QGLFormat.alpha()'''
185        return bool()
186    def rgba(self):
187        '''bool QGLFormat.rgba()'''
188        return bool()
189    def depth(self):
190        '''bool QGLFormat.depth()'''
191        return bool()
192    def doubleBuffer(self):
193        '''bool QGLFormat.doubleBuffer()'''
194        return bool()
195    def hasOpenGLOverlays(self):
196        '''static bool QGLFormat.hasOpenGLOverlays()'''
197        return bool()
198    def hasOpenGL(self):
199        '''static bool QGLFormat.hasOpenGL()'''
200        return bool()
201    def setDefaultOverlayFormat(self, f):
202        '''static void QGLFormat.setDefaultOverlayFormat(QGLFormat f)'''
203    def defaultOverlayFormat(self):
204        '''static QGLFormat QGLFormat.defaultOverlayFormat()'''
205        return QGLFormat()
206    def setDefaultFormat(self, f):
207        '''static void QGLFormat.setDefaultFormat(QGLFormat f)'''
208    def defaultFormat(self):
209        '''static QGLFormat QGLFormat.defaultFormat()'''
210        return QGLFormat()
211    def testOption(self, opt):
212        '''bool QGLFormat.testOption(QGL.FormatOptions opt)'''
213        return bool()
214    def setOption(self, opt):
215        '''void QGLFormat.setOption(QGL.FormatOptions opt)'''
216    def setPlane(self, plane):
217        '''void QGLFormat.setPlane(int plane)'''
218    def plane(self):
219        '''int QGLFormat.plane()'''
220        return int()
221    def setOverlay(self, enable):
222        '''void QGLFormat.setOverlay(bool enable)'''
223    def setDirectRendering(self, enable):
224        '''void QGLFormat.setDirectRendering(bool enable)'''
225    def setStereo(self, enable):
226        '''void QGLFormat.setStereo(bool enable)'''
227    def setStencil(self, enable):
228        '''void QGLFormat.setStencil(bool enable)'''
229    def setAccum(self, enable):
230        '''void QGLFormat.setAccum(bool enable)'''
231    def setAlpha(self, enable):
232        '''void QGLFormat.setAlpha(bool enable)'''
233    def setRgba(self, enable):
234        '''void QGLFormat.setRgba(bool enable)'''
235    def setDepth(self, enable):
236        '''void QGLFormat.setDepth(bool enable)'''
237    def setDoubleBuffer(self, enable):
238        '''void QGLFormat.setDoubleBuffer(bool enable)'''
239    def samples(self):
240        '''int QGLFormat.samples()'''
241        return int()
242    def setSamples(self, numSamples):
243        '''void QGLFormat.setSamples(int numSamples)'''
244    def setSampleBuffers(self, enable):
245        '''void QGLFormat.setSampleBuffers(bool enable)'''
246    def stencilBufferSize(self):
247        '''int QGLFormat.stencilBufferSize()'''
248        return int()
249    def setStencilBufferSize(self, size):
250        '''void QGLFormat.setStencilBufferSize(int size)'''
251    def alphaBufferSize(self):
252        '''int QGLFormat.alphaBufferSize()'''
253        return int()
254    def setAlphaBufferSize(self, size):
255        '''void QGLFormat.setAlphaBufferSize(int size)'''
256    def accumBufferSize(self):
257        '''int QGLFormat.accumBufferSize()'''
258        return int()
259    def setAccumBufferSize(self, size):
260        '''void QGLFormat.setAccumBufferSize(int size)'''
261    def depthBufferSize(self):
262        '''int QGLFormat.depthBufferSize()'''
263        return int()
264    def setDepthBufferSize(self, size):
265        '''void QGLFormat.setDepthBufferSize(int size)'''
266    class OpenGLVersionFlags():
267        """"""
268        def __init__(self):
269            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__init__()'''
270            return QGLFormat.OpenGLVersionFlags()
271        def __init__(self):
272            '''int QGLFormat.OpenGLVersionFlags.__init__()'''
273            return int()
274        def __init__(self):
275            '''void QGLFormat.OpenGLVersionFlags.__init__()'''
276        def __bool__(self):
277            '''int QGLFormat.OpenGLVersionFlags.__bool__()'''
278            return int()
279        def __ne__(self, f):
280            '''bool QGLFormat.OpenGLVersionFlags.__ne__(QGLFormat.OpenGLVersionFlags f)'''
281            return bool()
282        def __eq__(self, f):
283            '''bool QGLFormat.OpenGLVersionFlags.__eq__(QGLFormat.OpenGLVersionFlags f)'''
284            return bool()
285        def __invert__(self):
286            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__invert__()'''
287            return QGLFormat.OpenGLVersionFlags()
288        def __and__(self, mask):
289            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__and__(int mask)'''
290            return QGLFormat.OpenGLVersionFlags()
291        def __xor__(self, f):
292            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(QGLFormat.OpenGLVersionFlags f)'''
293            return QGLFormat.OpenGLVersionFlags()
294        def __xor__(self, f):
295            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(int f)'''
296            return QGLFormat.OpenGLVersionFlags()
297        def __or__(self, f):
298            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(QGLFormat.OpenGLVersionFlags f)'''
299            return QGLFormat.OpenGLVersionFlags()
300        def __or__(self, f):
301            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(int f)'''
302            return QGLFormat.OpenGLVersionFlags()
303        def __int__(self):
304            '''int QGLFormat.OpenGLVersionFlags.__int__()'''
305            return int()
306        def __ixor__(self, f):
307            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ixor__(QGLFormat.OpenGLVersionFlags f)'''
308            return QGLFormat.OpenGLVersionFlags()
309        def __ior__(self, f):
310            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ior__(QGLFormat.OpenGLVersionFlags f)'''
311            return QGLFormat.OpenGLVersionFlags()
312        def __iand__(self, mask):
313            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__iand__(int mask)'''
314            return QGLFormat.OpenGLVersionFlags()
315
316
317class QGLContext():
318    """"""
319    # Enum QGLContext.BindOption
320    NoBindOption = 0
321    InvertedYBindOption = 0
322    MipmapBindOption = 0
323    PremultipliedAlphaBindOption = 0
324    LinearFilteringBindOption = 0
325    DefaultBindOption = 0
326
327    def __init__(self, format):
328        '''void QGLContext.__init__(QGLFormat format)'''
329    def moveToThread(self, thread):
330        '''void QGLContext.moveToThread(QThread thread)'''
331    def areSharing(self, context1, context2):
332        '''static bool QGLContext.areSharing(QGLContext context1, QGLContext context2)'''
333        return bool()
334    def setInitialized(self, on):
335        '''void QGLContext.setInitialized(bool on)'''
336    def initialized(self):
337        '''bool QGLContext.initialized()'''
338        return bool()
339    def setWindowCreated(self, on):
340        '''void QGLContext.setWindowCreated(bool on)'''
341    def windowCreated(self):
342        '''bool QGLContext.windowCreated()'''
343        return bool()
344    def deviceIsPixmap(self):
345        '''bool QGLContext.deviceIsPixmap()'''
346        return bool()
347    def chooseContext(self, shareContext = None):
348        '''bool QGLContext.chooseContext(QGLContext shareContext = None)'''
349        return bool()
350    def currentContext(self):
351        '''static QGLContext QGLContext.currentContext()'''
352        return QGLContext()
353    def overlayTransparentColor(self):
354        '''QColor QGLContext.overlayTransparentColor()'''
355        return QColor()
356    def device(self):
357        '''QPaintDevice QGLContext.device()'''
358        return QPaintDevice()
359    def getProcAddress(self, proc):
360        '''sip.voidptr QGLContext.getProcAddress(str proc)'''
361        return sip.voidptr()
362    def textureCacheLimit(self):
363        '''static int QGLContext.textureCacheLimit()'''
364        return int()
365    def setTextureCacheLimit(self, size):
366        '''static void QGLContext.setTextureCacheLimit(int size)'''
367    def deleteTexture(self, tx_id):
368        '''void QGLContext.deleteTexture(int tx_id)'''
369    def drawTexture(self, target, textureId, textureTarget = None):
370        '''void QGLContext.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
371    def drawTexture(self, point, textureId, textureTarget = None):
372        '''void QGLContext.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
373    def bindTexture(self, image, target = None, format = None):
374        '''int QGLContext.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
375        return int()
376    def bindTexture(self, pixmap, target = None, format = None):
377        '''int QGLContext.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
378        return int()
379    def bindTexture(self, fileName):
380        '''int QGLContext.bindTexture(str fileName)'''
381        return int()
382    def bindTexture(self, image, target, format, options):
383        '''int QGLContext.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)'''
384        return int()
385    def bindTexture(self, pixmap, target, format, options):
386        '''int QGLContext.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)'''
387        return int()
388    def swapBuffers(self):
389        '''void QGLContext.swapBuffers()'''
390    def doneCurrent(self):
391        '''void QGLContext.doneCurrent()'''
392    def makeCurrent(self):
393        '''void QGLContext.makeCurrent()'''
394    def setFormat(self, format):
395        '''void QGLContext.setFormat(QGLFormat format)'''
396    def requestedFormat(self):
397        '''QGLFormat QGLContext.requestedFormat()'''
398        return QGLFormat()
399    def format(self):
400        '''QGLFormat QGLContext.format()'''
401        return QGLFormat()
402    def reset(self):
403        '''void QGLContext.reset()'''
404    def isSharing(self):
405        '''bool QGLContext.isSharing()'''
406        return bool()
407    def isValid(self):
408        '''bool QGLContext.isValid()'''
409        return bool()
410    def create(self, shareContext = None):
411        '''bool QGLContext.create(QGLContext shareContext = None)'''
412        return bool()
413    class BindOptions():
414        """"""
415        def __init__(self):
416            '''QGLContext.BindOptions QGLContext.BindOptions.__init__()'''
417            return QGLContext.BindOptions()
418        def __init__(self):
419            '''int QGLContext.BindOptions.__init__()'''
420            return int()
421        def __init__(self):
422            '''void QGLContext.BindOptions.__init__()'''
423        def __bool__(self):
424            '''int QGLContext.BindOptions.__bool__()'''
425            return int()
426        def __ne__(self, f):
427            '''bool QGLContext.BindOptions.__ne__(QGLContext.BindOptions f)'''
428            return bool()
429        def __eq__(self, f):
430            '''bool QGLContext.BindOptions.__eq__(QGLContext.BindOptions f)'''
431            return bool()
432        def __invert__(self):
433            '''QGLContext.BindOptions QGLContext.BindOptions.__invert__()'''
434            return QGLContext.BindOptions()
435        def __and__(self, mask):
436            '''QGLContext.BindOptions QGLContext.BindOptions.__and__(int mask)'''
437            return QGLContext.BindOptions()
438        def __xor__(self, f):
439            '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(QGLContext.BindOptions f)'''
440            return QGLContext.BindOptions()
441        def __xor__(self, f):
442            '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(int f)'''
443            return QGLContext.BindOptions()
444        def __or__(self, f):
445            '''QGLContext.BindOptions QGLContext.BindOptions.__or__(QGLContext.BindOptions f)'''
446            return QGLContext.BindOptions()
447        def __or__(self, f):
448            '''QGLContext.BindOptions QGLContext.BindOptions.__or__(int f)'''
449            return QGLContext.BindOptions()
450        def __int__(self):
451            '''int QGLContext.BindOptions.__int__()'''
452            return int()
453        def __ixor__(self, f):
454            '''QGLContext.BindOptions QGLContext.BindOptions.__ixor__(QGLContext.BindOptions f)'''
455            return QGLContext.BindOptions()
456        def __ior__(self, f):
457            '''QGLContext.BindOptions QGLContext.BindOptions.__ior__(QGLContext.BindOptions f)'''
458            return QGLContext.BindOptions()
459        def __iand__(self, mask):
460            '''QGLContext.BindOptions QGLContext.BindOptions.__iand__(int mask)'''
461            return QGLContext.BindOptions()
462
463
464class QGLWidget(QWidget):
465    """"""
466    def __init__(self, parent = None, shareWidget = None, flags = 0):
467        '''void QGLWidget.__init__(QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
468    def __init__(self, context, parent = None, shareWidget = None, flags = 0):
469        '''void QGLWidget.__init__(QGLContext context, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
470    def __init__(self, format, parent = None, shareWidget = None, flags = 0):
471        '''void QGLWidget.__init__(QGLFormat format, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
472    def glDraw(self):
473        '''void QGLWidget.glDraw()'''
474    def glInit(self):
475        '''void QGLWidget.glInit()'''
476    def resizeEvent(self):
477        '''QResizeEvent QGLWidget.resizeEvent()'''
478        return QResizeEvent()
479    def paintEvent(self):
480        '''QPaintEvent QGLWidget.paintEvent()'''
481        return QPaintEvent()
482    def autoBufferSwap(self):
483        '''bool QGLWidget.autoBufferSwap()'''
484        return bool()
485    def setAutoBufferSwap(self, on):
486        '''void QGLWidget.setAutoBufferSwap(bool on)'''
487    def paintOverlayGL(self):
488        '''void QGLWidget.paintOverlayGL()'''
489    def resizeOverlayGL(self, w, h):
490        '''void QGLWidget.resizeOverlayGL(int w, int h)'''
491    def initializeOverlayGL(self):
492        '''void QGLWidget.initializeOverlayGL()'''
493    def paintGL(self):
494        '''void QGLWidget.paintGL()'''
495    def resizeGL(self, w, h):
496        '''void QGLWidget.resizeGL(int w, int h)'''
497    def initializeGL(self):
498        '''void QGLWidget.initializeGL()'''
499    def event(self):
500        '''QEvent QGLWidget.event()'''
501        return QEvent()
502    def updateOverlayGL(self):
503        '''void QGLWidget.updateOverlayGL()'''
504    def updateGL(self):
505        '''void QGLWidget.updateGL()'''
506    def deleteTexture(self, tx_id):
507        '''void QGLWidget.deleteTexture(int tx_id)'''
508    def drawTexture(self, target, textureId, textureTarget = None):
509        '''void QGLWidget.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
510    def drawTexture(self, point, textureId, textureTarget = None):
511        '''void QGLWidget.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
512    def bindTexture(self, image, target = None, format = None):
513        '''int QGLWidget.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
514        return int()
515    def bindTexture(self, pixmap, target = None, format = None):
516        '''int QGLWidget.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
517        return int()
518    def bindTexture(self, fileName):
519        '''int QGLWidget.bindTexture(str fileName)'''
520        return int()
521    def bindTexture(self, image, target, format, options):
522        '''int QGLWidget.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)'''
523        return int()
524    def bindTexture(self, pixmap, target, format, options):
525        '''int QGLWidget.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)'''
526        return int()
527    def paintEngine(self):
528        '''QPaintEngine QGLWidget.paintEngine()'''
529        return QPaintEngine()
530    def renderText(self, x, y, str, font = QFont()):
531        '''void QGLWidget.renderText(int x, int y, str str, QFont font = QFont())'''
532    def renderText(self, x, y, z, str, font = QFont()):
533        '''void QGLWidget.renderText(float x, float y, float z, str str, QFont font = QFont())'''
534    def convertToGLFormat(self, img):
535        '''static QImage QGLWidget.convertToGLFormat(QImage img)'''
536        return QImage()
537    def overlayContext(self):
538        '''QGLContext QGLWidget.overlayContext()'''
539        return QGLContext()
540    def makeOverlayCurrent(self):
541        '''void QGLWidget.makeOverlayCurrent()'''
542    def grabFrameBuffer(self, withAlpha = False):
543        '''QImage QGLWidget.grabFrameBuffer(bool withAlpha = False)'''
544        return QImage()
545    def renderPixmap(self, width = 0, height = 0, useContext = False):
546        '''QPixmap QGLWidget.renderPixmap(int width = 0, int height = 0, bool useContext = False)'''
547        return QPixmap()
548    def setContext(self, context, shareContext = None, deleteOldContext = True):
549        '''void QGLWidget.setContext(QGLContext context, QGLContext shareContext = None, bool deleteOldContext = True)'''
550    def context(self):
551        '''QGLContext QGLWidget.context()'''
552        return QGLContext()
553    def format(self):
554        '''QGLFormat QGLWidget.format()'''
555        return QGLFormat()
556    def swapBuffers(self):
557        '''void QGLWidget.swapBuffers()'''
558    def doubleBuffer(self):
559        '''bool QGLWidget.doubleBuffer()'''
560        return bool()
561    def doneCurrent(self):
562        '''void QGLWidget.doneCurrent()'''
563    def makeCurrent(self):
564        '''void QGLWidget.makeCurrent()'''
565    def isSharing(self):
566        '''bool QGLWidget.isSharing()'''
567        return bool()
568    def isValid(self):
569        '''bool QGLWidget.isValid()'''
570        return bool()
571    def qglClearColor(self, c):
572        '''void QGLWidget.qglClearColor(QColor c)'''
573    def qglColor(self, c):
574        '''void QGLWidget.qglColor(QColor c)'''
575
576
577