1class pyqtSignal():
2 def connect(self, targetSignal): pass
3 def emit(self, *args): pass
4from QtCore import *
5
6class QGL():
7    """"""
8    # Enum QGL.FormatOption
9    DoubleBuffer = 0
10    DepthBuffer = 0
11    Rgba = 0
12    AlphaChannel = 0
13    AccumBuffer = 0
14    StencilBuffer = 0
15    StereoBuffers = 0
16    DirectRendering = 0
17    HasOverlay = 0
18    SampleBuffers = 0
19    SingleBuffer = 0
20    NoDepthBuffer = 0
21    ColorIndex = 0
22    NoAlphaChannel = 0
23    NoAccumBuffer = 0
24    NoStencilBuffer = 0
25    NoStereoBuffers = 0
26    IndirectRendering = 0
27    NoOverlay = 0
28    NoSampleBuffers = 0
29    DeprecatedFunctions = 0
30    NoDeprecatedFunctions = 0
31
32    def setPreferredPaintEngine(self, engineType):
33        '''static void QGL.setPreferredPaintEngine(QPaintEngine.Type engineType)'''
34    class FormatOptions():
35        """"""
36        def __init__(self):
37            '''QGL.FormatOptions QGL.FormatOptions.__init__()'''
38            return QGL.FormatOptions()
39        def __init__(self):
40            '''int QGL.FormatOptions.__init__()'''
41            return int()
42        def __init__(self):
43            '''void QGL.FormatOptions.__init__()'''
44        def __bool__(self):
45            '''int QGL.FormatOptions.__bool__()'''
46            return int()
47        def __ne__(self, f):
48            '''bool QGL.FormatOptions.__ne__(QGL.FormatOptions f)'''
49            return bool()
50        def __eq__(self, f):
51            '''bool QGL.FormatOptions.__eq__(QGL.FormatOptions f)'''
52            return bool()
53        def __invert__(self):
54            '''QGL.FormatOptions QGL.FormatOptions.__invert__()'''
55            return QGL.FormatOptions()
56        def __and__(self, mask):
57            '''QGL.FormatOptions QGL.FormatOptions.__and__(int mask)'''
58            return QGL.FormatOptions()
59        def __xor__(self, f):
60            '''QGL.FormatOptions QGL.FormatOptions.__xor__(QGL.FormatOptions f)'''
61            return QGL.FormatOptions()
62        def __xor__(self, f):
63            '''QGL.FormatOptions QGL.FormatOptions.__xor__(int f)'''
64            return QGL.FormatOptions()
65        def __or__(self, f):
66            '''QGL.FormatOptions QGL.FormatOptions.__or__(QGL.FormatOptions f)'''
67            return QGL.FormatOptions()
68        def __or__(self, f):
69            '''QGL.FormatOptions QGL.FormatOptions.__or__(int f)'''
70            return QGL.FormatOptions()
71        def __int__(self):
72            '''int QGL.FormatOptions.__int__()'''
73            return int()
74        def __ixor__(self, f):
75            '''QGL.FormatOptions QGL.FormatOptions.__ixor__(QGL.FormatOptions f)'''
76            return QGL.FormatOptions()
77        def __ior__(self, f):
78            '''QGL.FormatOptions QGL.FormatOptions.__ior__(QGL.FormatOptions f)'''
79            return QGL.FormatOptions()
80        def __iand__(self, mask):
81            '''QGL.FormatOptions QGL.FormatOptions.__iand__(int mask)'''
82            return QGL.FormatOptions()
83
84
85class QGLFormat():
86    """"""
87    # Enum QGLFormat.OpenGLContextProfile
88    NoProfile = 0
89    CoreProfile = 0
90    CompatibilityProfile = 0
91
92    # Enum QGLFormat.OpenGLVersionFlag
93    OpenGL_Version_None = 0
94    OpenGL_Version_1_1 = 0
95    OpenGL_Version_1_2 = 0
96    OpenGL_Version_1_3 = 0
97    OpenGL_Version_1_4 = 0
98    OpenGL_Version_1_5 = 0
99    OpenGL_Version_2_0 = 0
100    OpenGL_Version_2_1 = 0
101    OpenGL_Version_3_0 = 0
102    OpenGL_Version_3_1 = 0
103    OpenGL_Version_3_2 = 0
104    OpenGL_Version_3_3 = 0
105    OpenGL_Version_4_0 = 0
106    OpenGL_ES_Common_Version_1_0 = 0
107    OpenGL_ES_CommonLite_Version_1_0 = 0
108    OpenGL_ES_Common_Version_1_1 = 0
109    OpenGL_ES_CommonLite_Version_1_1 = 0
110    OpenGL_ES_Version_2_0 = 0
111
112    def __init__(self):
113        '''void QGLFormat.__init__()'''
114    def __init__(self, options, plane = 0):
115        '''void QGLFormat.__init__(QGL.FormatOptions options, int plane = 0)'''
116    def __init__(self, other):
117        '''void QGLFormat.__init__(QGLFormat other)'''
118    def __eq__(self):
119        '''QGLFormat QGLFormat.__eq__()'''
120        return QGLFormat()
121    def __ne__(self):
122        '''QGLFormat QGLFormat.__ne__()'''
123        return QGLFormat()
124    def profile(self):
125        '''QGLFormat.OpenGLContextProfile QGLFormat.profile()'''
126        return QGLFormat.OpenGLContextProfile()
127    def setProfile(self, profile):
128        '''void QGLFormat.setProfile(QGLFormat.OpenGLContextProfile profile)'''
129    def minorVersion(self):
130        '''int QGLFormat.minorVersion()'''
131        return int()
132    def majorVersion(self):
133        '''int QGLFormat.majorVersion()'''
134        return int()
135    def setVersion(self, major, minor):
136        '''void QGLFormat.setVersion(int major, int minor)'''
137    def openGLVersionFlags(self):
138        '''static QGLFormat.OpenGLVersionFlags QGLFormat.openGLVersionFlags()'''
139        return QGLFormat.OpenGLVersionFlags()
140    def swapInterval(self):
141        '''int QGLFormat.swapInterval()'''
142        return int()
143    def setSwapInterval(self, interval):
144        '''void QGLFormat.setSwapInterval(int interval)'''
145    def blueBufferSize(self):
146        '''int QGLFormat.blueBufferSize()'''
147        return int()
148    def setBlueBufferSize(self, size):
149        '''void QGLFormat.setBlueBufferSize(int size)'''
150    def greenBufferSize(self):
151        '''int QGLFormat.greenBufferSize()'''
152        return int()
153    def setGreenBufferSize(self, size):
154        '''void QGLFormat.setGreenBufferSize(int size)'''
155    def redBufferSize(self):
156        '''int QGLFormat.redBufferSize()'''
157        return int()
158    def setRedBufferSize(self, size):
159        '''void QGLFormat.setRedBufferSize(int size)'''
160    def sampleBuffers(self):
161        '''bool QGLFormat.sampleBuffers()'''
162        return bool()
163    def hasOverlay(self):
164        '''bool QGLFormat.hasOverlay()'''
165        return bool()
166    def directRendering(self):
167        '''bool QGLFormat.directRendering()'''
168        return bool()
169    def stereo(self):
170        '''bool QGLFormat.stereo()'''
171        return bool()
172    def stencil(self):
173        '''bool QGLFormat.stencil()'''
174        return bool()
175    def accum(self):
176        '''bool QGLFormat.accum()'''
177        return bool()
178    def alpha(self):
179        '''bool QGLFormat.alpha()'''
180        return bool()
181    def rgba(self):
182        '''bool QGLFormat.rgba()'''
183        return bool()
184    def depth(self):
185        '''bool QGLFormat.depth()'''
186        return bool()
187    def doubleBuffer(self):
188        '''bool QGLFormat.doubleBuffer()'''
189        return bool()
190    def hasOpenGLOverlays(self):
191        '''static bool QGLFormat.hasOpenGLOverlays()'''
192        return bool()
193    def hasOpenGL(self):
194        '''static bool QGLFormat.hasOpenGL()'''
195        return bool()
196    def setDefaultOverlayFormat(self, f):
197        '''static void QGLFormat.setDefaultOverlayFormat(QGLFormat f)'''
198    def defaultOverlayFormat(self):
199        '''static QGLFormat QGLFormat.defaultOverlayFormat()'''
200        return QGLFormat()
201    def setDefaultFormat(self, f):
202        '''static void QGLFormat.setDefaultFormat(QGLFormat f)'''
203    def defaultFormat(self):
204        '''static QGLFormat QGLFormat.defaultFormat()'''
205        return QGLFormat()
206    def testOption(self, opt):
207        '''bool QGLFormat.testOption(QGL.FormatOptions opt)'''
208        return bool()
209    def setOption(self, opt):
210        '''void QGLFormat.setOption(QGL.FormatOptions opt)'''
211    def setPlane(self, plane):
212        '''void QGLFormat.setPlane(int plane)'''
213    def plane(self):
214        '''int QGLFormat.plane()'''
215        return int()
216    def setOverlay(self, enable):
217        '''void QGLFormat.setOverlay(bool enable)'''
218    def setDirectRendering(self, enable):
219        '''void QGLFormat.setDirectRendering(bool enable)'''
220    def setStereo(self, enable):
221        '''void QGLFormat.setStereo(bool enable)'''
222    def setStencil(self, enable):
223        '''void QGLFormat.setStencil(bool enable)'''
224    def setAccum(self, enable):
225        '''void QGLFormat.setAccum(bool enable)'''
226    def setAlpha(self, enable):
227        '''void QGLFormat.setAlpha(bool enable)'''
228    def setRgba(self, enable):
229        '''void QGLFormat.setRgba(bool enable)'''
230    def setDepth(self, enable):
231        '''void QGLFormat.setDepth(bool enable)'''
232    def setDoubleBuffer(self, enable):
233        '''void QGLFormat.setDoubleBuffer(bool enable)'''
234    def samples(self):
235        '''int QGLFormat.samples()'''
236        return int()
237    def setSamples(self, numSamples):
238        '''void QGLFormat.setSamples(int numSamples)'''
239    def setSampleBuffers(self, enable):
240        '''void QGLFormat.setSampleBuffers(bool enable)'''
241    def stencilBufferSize(self):
242        '''int QGLFormat.stencilBufferSize()'''
243        return int()
244    def setStencilBufferSize(self, size):
245        '''void QGLFormat.setStencilBufferSize(int size)'''
246    def alphaBufferSize(self):
247        '''int QGLFormat.alphaBufferSize()'''
248        return int()
249    def setAlphaBufferSize(self, size):
250        '''void QGLFormat.setAlphaBufferSize(int size)'''
251    def accumBufferSize(self):
252        '''int QGLFormat.accumBufferSize()'''
253        return int()
254    def setAccumBufferSize(self, size):
255        '''void QGLFormat.setAccumBufferSize(int size)'''
256    def depthBufferSize(self):
257        '''int QGLFormat.depthBufferSize()'''
258        return int()
259    def setDepthBufferSize(self, size):
260        '''void QGLFormat.setDepthBufferSize(int size)'''
261    class OpenGLVersionFlags():
262        """"""
263        def __init__(self):
264            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__init__()'''
265            return QGLFormat.OpenGLVersionFlags()
266        def __init__(self):
267            '''int QGLFormat.OpenGLVersionFlags.__init__()'''
268            return int()
269        def __init__(self):
270            '''void QGLFormat.OpenGLVersionFlags.__init__()'''
271        def __bool__(self):
272            '''int QGLFormat.OpenGLVersionFlags.__bool__()'''
273            return int()
274        def __ne__(self, f):
275            '''bool QGLFormat.OpenGLVersionFlags.__ne__(QGLFormat.OpenGLVersionFlags f)'''
276            return bool()
277        def __eq__(self, f):
278            '''bool QGLFormat.OpenGLVersionFlags.__eq__(QGLFormat.OpenGLVersionFlags f)'''
279            return bool()
280        def __invert__(self):
281            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__invert__()'''
282            return QGLFormat.OpenGLVersionFlags()
283        def __and__(self, mask):
284            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__and__(int mask)'''
285            return QGLFormat.OpenGLVersionFlags()
286        def __xor__(self, f):
287            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(QGLFormat.OpenGLVersionFlags f)'''
288            return QGLFormat.OpenGLVersionFlags()
289        def __xor__(self, f):
290            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(int f)'''
291            return QGLFormat.OpenGLVersionFlags()
292        def __or__(self, f):
293            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(QGLFormat.OpenGLVersionFlags f)'''
294            return QGLFormat.OpenGLVersionFlags()
295        def __or__(self, f):
296            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(int f)'''
297            return QGLFormat.OpenGLVersionFlags()
298        def __int__(self):
299            '''int QGLFormat.OpenGLVersionFlags.__int__()'''
300            return int()
301        def __ixor__(self, f):
302            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ixor__(QGLFormat.OpenGLVersionFlags f)'''
303            return QGLFormat.OpenGLVersionFlags()
304        def __ior__(self, f):
305            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ior__(QGLFormat.OpenGLVersionFlags f)'''
306            return QGLFormat.OpenGLVersionFlags()
307        def __iand__(self, mask):
308            '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__iand__(int mask)'''
309            return QGLFormat.OpenGLVersionFlags()
310
311
312class QGLContext():
313    """"""
314    # Enum QGLContext.BindOption
315    NoBindOption = 0
316    InvertedYBindOption = 0
317    MipmapBindOption = 0
318    PremultipliedAlphaBindOption = 0
319    LinearFilteringBindOption = 0
320    DefaultBindOption = 0
321
322    def __init__(self, format, device):
323        '''void QGLContext.__init__(QGLFormat format, QPaintDevice device)'''
324    def areSharing(self, context1, context2):
325        '''static bool QGLContext.areSharing(QGLContext context1, QGLContext context2)'''
326        return bool()
327    def generateFontDisplayLists(self, fnt, listBase):
328        '''void QGLContext.generateFontDisplayLists(QFont fnt, int listBase)'''
329    def setInitialized(self, on):
330        '''void QGLContext.setInitialized(bool on)'''
331    def initialized(self):
332        '''bool QGLContext.initialized()'''
333        return bool()
334    def setWindowCreated(self, on):
335        '''void QGLContext.setWindowCreated(bool on)'''
336    def windowCreated(self):
337        '''bool QGLContext.windowCreated()'''
338        return bool()
339    def deviceIsPixmap(self):
340        '''bool QGLContext.deviceIsPixmap()'''
341        return bool()
342    def chooseContext(self, shareContext = None):
343        '''bool QGLContext.chooseContext(QGLContext shareContext = None)'''
344        return bool()
345    def currentContext(self):
346        '''static QGLContext QGLContext.currentContext()'''
347        return QGLContext()
348    def overlayTransparentColor(self):
349        '''QColor QGLContext.overlayTransparentColor()'''
350        return QColor()
351    def device(self):
352        '''QPaintDevice QGLContext.device()'''
353        return QPaintDevice()
354    def getProcAddress(self, proc):
355        '''sip.voidptr QGLContext.getProcAddress(QString proc)'''
356        return sip.voidptr()
357    def textureCacheLimit(self):
358        '''static int QGLContext.textureCacheLimit()'''
359        return int()
360    def setTextureCacheLimit(self, size):
361        '''static void QGLContext.setTextureCacheLimit(int size)'''
362    def deleteTexture(self, tx_id):
363        '''void QGLContext.deleteTexture(int tx_id)'''
364    def chooseVisual(self):
365        '''sip.voidptr QGLContext.chooseVisual()'''
366        return sip.voidptr()
367    def drawTexture(self, target, textureId, textureTarget = None):
368        '''void QGLContext.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
369    def drawTexture(self, point, textureId, textureTarget = None):
370        '''void QGLContext.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
371    def bindTexture(self, image, target = None, format = None):
372        '''int QGLContext.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
373        return int()
374    def bindTexture(self, pixmap, target = None, format = None):
375        '''int QGLContext.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
376        return int()
377    def bindTexture(self, fileName):
378        '''int QGLContext.bindTexture(QString fileName)'''
379        return int()
380    def bindTexture(self, image, target, format, options):
381        '''int QGLContext.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)'''
382        return int()
383    def bindTexture(self, pixmap, target, format, options):
384        '''int QGLContext.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)'''
385        return int()
386    def swapBuffers(self):
387        '''void QGLContext.swapBuffers()'''
388    def doneCurrent(self):
389        '''void QGLContext.doneCurrent()'''
390    def makeCurrent(self):
391        '''void QGLContext.makeCurrent()'''
392    def setFormat(self, format):
393        '''void QGLContext.setFormat(QGLFormat format)'''
394    def requestedFormat(self):
395        '''QGLFormat QGLContext.requestedFormat()'''
396        return QGLFormat()
397    def format(self):
398        '''QGLFormat QGLContext.format()'''
399        return QGLFormat()
400    def reset(self):
401        '''void QGLContext.reset()'''
402    def isSharing(self):
403        '''bool QGLContext.isSharing()'''
404        return bool()
405    def isValid(self):
406        '''bool QGLContext.isValid()'''
407        return bool()
408    def create(self, shareContext = None):
409        '''bool QGLContext.create(QGLContext shareContext = None)'''
410        return bool()
411    class BindOptions():
412        """"""
413        def __init__(self):
414            '''QGLContext.BindOptions QGLContext.BindOptions.__init__()'''
415            return QGLContext.BindOptions()
416        def __init__(self):
417            '''int QGLContext.BindOptions.__init__()'''
418            return int()
419        def __init__(self):
420            '''void QGLContext.BindOptions.__init__()'''
421        def __bool__(self):
422            '''int QGLContext.BindOptions.__bool__()'''
423            return int()
424        def __ne__(self, f):
425            '''bool QGLContext.BindOptions.__ne__(QGLContext.BindOptions f)'''
426            return bool()
427        def __eq__(self, f):
428            '''bool QGLContext.BindOptions.__eq__(QGLContext.BindOptions f)'''
429            return bool()
430        def __invert__(self):
431            '''QGLContext.BindOptions QGLContext.BindOptions.__invert__()'''
432            return QGLContext.BindOptions()
433        def __and__(self, mask):
434            '''QGLContext.BindOptions QGLContext.BindOptions.__and__(int mask)'''
435            return QGLContext.BindOptions()
436        def __xor__(self, f):
437            '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(QGLContext.BindOptions f)'''
438            return QGLContext.BindOptions()
439        def __xor__(self, f):
440            '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(int f)'''
441            return QGLContext.BindOptions()
442        def __or__(self, f):
443            '''QGLContext.BindOptions QGLContext.BindOptions.__or__(QGLContext.BindOptions f)'''
444            return QGLContext.BindOptions()
445        def __or__(self, f):
446            '''QGLContext.BindOptions QGLContext.BindOptions.__or__(int f)'''
447            return QGLContext.BindOptions()
448        def __int__(self):
449            '''int QGLContext.BindOptions.__int__()'''
450            return int()
451        def __ixor__(self, f):
452            '''QGLContext.BindOptions QGLContext.BindOptions.__ixor__(QGLContext.BindOptions f)'''
453            return QGLContext.BindOptions()
454        def __ior__(self, f):
455            '''QGLContext.BindOptions QGLContext.BindOptions.__ior__(QGLContext.BindOptions f)'''
456            return QGLContext.BindOptions()
457        def __iand__(self, mask):
458            '''QGLContext.BindOptions QGLContext.BindOptions.__iand__(int mask)'''
459            return QGLContext.BindOptions()
460
461
462class QGLWidget(QWidget):
463    """"""
464    def __init__(self, parent = None, shareWidget = None, flags = 0):
465        '''void QGLWidget.__init__(QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
466    def __init__(self, context, parent = None, shareWidget = None, flags = 0):
467        '''void QGLWidget.__init__(QGLContext context, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
468    def __init__(self, format, parent = None, shareWidget = None, flags = 0):
469        '''void QGLWidget.__init__(QGLFormat format, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
470    def fontDisplayListBase(self, font, listBase = 2000):
471        '''int QGLWidget.fontDisplayListBase(QFont font, int listBase = 2000)'''
472        return int()
473    def glDraw(self):
474        '''void QGLWidget.glDraw()'''
475    def glInit(self):
476        '''void QGLWidget.glInit()'''
477    def resizeEvent(self):
478        '''QResizeEvent QGLWidget.resizeEvent()'''
479        return QResizeEvent()
480    def paintEvent(self):
481        '''QPaintEvent QGLWidget.paintEvent()'''
482        return QPaintEvent()
483    def autoBufferSwap(self):
484        '''bool QGLWidget.autoBufferSwap()'''
485        return bool()
486    def setAutoBufferSwap(self, on):
487        '''void QGLWidget.setAutoBufferSwap(bool on)'''
488    def paintOverlayGL(self):
489        '''void QGLWidget.paintOverlayGL()'''
490    def resizeOverlayGL(self, w, h):
491        '''void QGLWidget.resizeOverlayGL(int w, int h)'''
492    def initializeOverlayGL(self):
493        '''void QGLWidget.initializeOverlayGL()'''
494    def paintGL(self):
495        '''void QGLWidget.paintGL()'''
496    def resizeGL(self, w, h):
497        '''void QGLWidget.resizeGL(int w, int h)'''
498    def initializeGL(self):
499        '''void QGLWidget.initializeGL()'''
500    def event(self):
501        '''QEvent QGLWidget.event()'''
502        return QEvent()
503    def updateOverlayGL(self):
504        '''void QGLWidget.updateOverlayGL()'''
505    def updateGL(self):
506        '''void QGLWidget.updateGL()'''
507    def deleteTexture(self, tx_id):
508        '''void QGLWidget.deleteTexture(int tx_id)'''
509    def drawTexture(self, target, textureId, textureTarget = None):
510        '''void QGLWidget.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
511    def drawTexture(self, point, textureId, textureTarget = None):
512        '''void QGLWidget.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
513    def bindTexture(self, image, target = None, format = None):
514        '''int QGLWidget.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
515        return int()
516    def bindTexture(self, pixmap, target = None, format = None):
517        '''int QGLWidget.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
518        return int()
519    def bindTexture(self, fileName):
520        '''int QGLWidget.bindTexture(QString fileName)'''
521        return int()
522    def bindTexture(self, image, target, format, options):
523        '''int QGLWidget.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)'''
524        return int()
525    def bindTexture(self, pixmap, target, format, options):
526        '''int QGLWidget.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)'''
527        return int()
528    def paintEngine(self):
529        '''QPaintEngine QGLWidget.paintEngine()'''
530        return QPaintEngine()
531    def renderText(self, x, y, str, font = QFont(), listBase = 2000):
532        '''void QGLWidget.renderText(int x, int y, QString str, QFont font = QFont(), int listBase = 2000)'''
533    def renderText(self, x, y, z, str, font = QFont(), listBase = 2000):
534        '''void QGLWidget.renderText(float x, float y, float z, QString str, QFont font = QFont(), int listBase = 2000)'''
535    def setColormap(self, map):
536        '''void QGLWidget.setColormap(QGLColormap map)'''
537    def colormap(self):
538        '''QGLColormap QGLWidget.colormap()'''
539        return QGLColormap()
540    def setMouseTracking(self, enable):
541        '''void QGLWidget.setMouseTracking(bool enable)'''
542    def convertToGLFormat(self, img):
543        '''static QImage QGLWidget.convertToGLFormat(QImage img)'''
544        return QImage()
545    def overlayContext(self):
546        '''QGLContext QGLWidget.overlayContext()'''
547        return QGLContext()
548    def makeOverlayCurrent(self):
549        '''void QGLWidget.makeOverlayCurrent()'''
550    def grabFrameBuffer(self, withAlpha = False):
551        '''QImage QGLWidget.grabFrameBuffer(bool withAlpha = False)'''
552        return QImage()
553    def renderPixmap(self, width = 0, height = 0, useContext = False):
554        '''QPixmap QGLWidget.renderPixmap(int width = 0, int height = 0, bool useContext = False)'''
555        return QPixmap()
556    def setContext(self, context, shareContext = None, deleteOldContext = True):
557        '''void QGLWidget.setContext(QGLContext context, QGLContext shareContext = None, bool deleteOldContext = True)'''
558    def context(self):
559        '''QGLContext QGLWidget.context()'''
560        return QGLContext()
561    def setFormat(self, format):
562        '''void QGLWidget.setFormat(QGLFormat format)'''
563    def format(self):
564        '''QGLFormat QGLWidget.format()'''
565        return QGLFormat()
566    def swapBuffers(self):
567        '''void QGLWidget.swapBuffers()'''
568    def doubleBuffer(self):
569        '''bool QGLWidget.doubleBuffer()'''
570        return bool()
571    def doneCurrent(self):
572        '''void QGLWidget.doneCurrent()'''
573    def makeCurrent(self):
574        '''void QGLWidget.makeCurrent()'''
575    def isSharing(self):
576        '''bool QGLWidget.isSharing()'''
577        return bool()
578    def isValid(self):
579        '''bool QGLWidget.isValid()'''
580        return bool()
581    def qglClearColor(self, c):
582        '''void QGLWidget.qglClearColor(QColor c)'''
583    def qglColor(self, c):
584        '''void QGLWidget.qglColor(QColor c)'''
585
586
587class QGLBuffer():
588    """"""
589    # Enum QGLBuffer.UsagePattern
590    StreamDraw = 0
591    StreamRead = 0
592    StreamCopy = 0
593    StaticDraw = 0
594    StaticRead = 0
595    StaticCopy = 0
596    DynamicDraw = 0
597    DynamicRead = 0
598    DynamicCopy = 0
599
600    # Enum QGLBuffer.Type
601    VertexBuffer = 0
602    IndexBuffer = 0
603    PixelPackBuffer = 0
604    PixelUnpackBuffer = 0
605
606    # Enum QGLBuffer.Access
607    ReadOnly = 0
608    WriteOnly = 0
609    ReadWrite = 0
610
611    def __init__(self):
612        '''void QGLBuffer.__init__()'''
613    def __init__(self, type):
614        '''void QGLBuffer.__init__(QGLBuffer.Type type)'''
615    def __init__(self, other):
616        '''void QGLBuffer.__init__(QGLBuffer other)'''
617    def unmap(self):
618        '''bool QGLBuffer.unmap()'''
619        return bool()
620    def map(self, access):
621        '''sip.voidptr QGLBuffer.map(QGLBuffer.Access access)'''
622        return sip.voidptr()
623    def allocate(self, data, count):
624        '''void QGLBuffer.allocate(sip.voidptr data, int count)'''
625    def allocate(self, count):
626        '''void QGLBuffer.allocate(int count)'''
627    def write(self, offset, data, count):
628        '''void QGLBuffer.write(int offset, sip.voidptr data, int count)'''
629    def read(self, offset, data, count):
630        '''bool QGLBuffer.read(int offset, sip.voidptr data, int count)'''
631        return bool()
632    def size(self):
633        '''int QGLBuffer.size()'''
634        return int()
635    def bufferId(self):
636        '''int QGLBuffer.bufferId()'''
637        return int()
638    def release(self):
639        '''void QGLBuffer.release()'''
640    def release(self, type):
641        '''static void QGLBuffer.release(QGLBuffer.Type type)'''
642    def bind(self):
643        '''bool QGLBuffer.bind()'''
644        return bool()
645    def destroy(self):
646        '''void QGLBuffer.destroy()'''
647    def isCreated(self):
648        '''bool QGLBuffer.isCreated()'''
649        return bool()
650    def create(self):
651        '''bool QGLBuffer.create()'''
652        return bool()
653    def setUsagePattern(self, value):
654        '''void QGLBuffer.setUsagePattern(QGLBuffer.UsagePattern value)'''
655    def usagePattern(self):
656        '''QGLBuffer.UsagePattern QGLBuffer.usagePattern()'''
657        return QGLBuffer.UsagePattern()
658    def type(self):
659        '''QGLBuffer.Type QGLBuffer.type()'''
660        return QGLBuffer.Type()
661
662
663class QGLColormap():
664    """"""
665    def __init__(self):
666        '''void QGLColormap.__init__()'''
667    def __init__(self):
668        '''QGLColormap QGLColormap.__init__()'''
669        return QGLColormap()
670    def setHandle(self, ahandle):
671        '''void QGLColormap.setHandle(int ahandle)'''
672    def handle(self):
673        '''int QGLColormap.handle()'''
674        return int()
675    def findNearest(self, color):
676        '''int QGLColormap.findNearest(int color)'''
677        return int()
678    def find(self, color):
679        '''int QGLColormap.find(int color)'''
680        return int()
681    def entryColor(self, idx):
682        '''QColor QGLColormap.entryColor(int idx)'''
683        return QColor()
684    def entryRgb(self, idx):
685        '''int QGLColormap.entryRgb(int idx)'''
686        return int()
687    def setEntry(self, idx, color):
688        '''void QGLColormap.setEntry(int idx, int color)'''
689    def setEntry(self, idx, color):
690        '''void QGLColormap.setEntry(int idx, QColor color)'''
691    def setEntries(self, colors, base = 0):
692        '''void QGLColormap.setEntries(list-of-int colors, int base = 0)'''
693    def size(self):
694        '''int QGLColormap.size()'''
695        return int()
696    def isEmpty(self):
697        '''bool QGLColormap.isEmpty()'''
698        return bool()
699    def detach(self):
700        '''void QGLColormap.detach()'''
701
702
703class QGLFramebufferObject(QPaintDevice):
704    """"""
705    # Enum QGLFramebufferObject.Attachment
706    NoAttachment = 0
707    CombinedDepthStencil = 0
708    Depth = 0
709
710    def __init__(self, size, target = None):
711        '''void QGLFramebufferObject.__init__(QSize size, int target = GL_TEXTURE_2D)'''
712    def __init__(self, width, height, target = None):
713        '''void QGLFramebufferObject.__init__(int width, int height, int target = GL_TEXTURE_2D)'''
714    def __init__(self, size, attachment, target = None, internalFormat = None):
715        '''void QGLFramebufferObject.__init__(QSize size, QGLFramebufferObject.Attachment attachment, int target = GL_TEXTURE_2D, int internalFormat = GL_RGBA8)'''
716    def __init__(self, width, height, attachment, target = None, internalFormat = None):
717        '''void QGLFramebufferObject.__init__(int width, int height, QGLFramebufferObject.Attachment attachment, int target = GL_TEXTURE_2D, int internalFormat = GL_RGBA8)'''
718    def __init__(self, size, format):
719        '''void QGLFramebufferObject.__init__(QSize size, QGLFramebufferObjectFormat format)'''
720    def __init__(self, width, height, format):
721        '''void QGLFramebufferObject.__init__(int width, int height, QGLFramebufferObjectFormat format)'''
722    def blitFramebuffer(self, target, targetRect, source, sourceRect, buffers = None, filter = None):
723        '''static void QGLFramebufferObject.blitFramebuffer(QGLFramebufferObject target, QRect targetRect, QGLFramebufferObject source, QRect sourceRect, int buffers = GL_COLOR_BUFFER_BIT, int filter = GL_NEAREST)'''
724    def hasOpenGLFramebufferBlit(self):
725        '''static bool QGLFramebufferObject.hasOpenGLFramebufferBlit()'''
726        return bool()
727    def format(self):
728        '''QGLFramebufferObjectFormat QGLFramebufferObject.format()'''
729        return QGLFramebufferObjectFormat()
730    def metric(self, metric):
731        '''int QGLFramebufferObject.metric(QPaintDevice.PaintDeviceMetric metric)'''
732        return int()
733    def hasOpenGLFramebufferObjects(self):
734        '''static bool QGLFramebufferObject.hasOpenGLFramebufferObjects()'''
735        return bool()
736    def handle(self):
737        '''int QGLFramebufferObject.handle()'''
738        return int()
739    def paintEngine(self):
740        '''QPaintEngine QGLFramebufferObject.paintEngine()'''
741        return QPaintEngine()
742    def toImage(self):
743        '''QImage QGLFramebufferObject.toImage()'''
744        return QImage()
745    def size(self):
746        '''QSize QGLFramebufferObject.size()'''
747        return QSize()
748    def drawTexture(self, target, textureId, textureTarget = None):
749        '''void QGLFramebufferObject.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
750    def drawTexture(self, point, textureId, textureTarget = None):
751        '''void QGLFramebufferObject.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
752    def texture(self):
753        '''int QGLFramebufferObject.texture()'''
754        return int()
755    def release(self):
756        '''bool QGLFramebufferObject.release()'''
757        return bool()
758    def isBound(self):
759        '''bool QGLFramebufferObject.isBound()'''
760        return bool()
761    def bind(self):
762        '''bool QGLFramebufferObject.bind()'''
763        return bool()
764    def isValid(self):
765        '''bool QGLFramebufferObject.isValid()'''
766        return bool()
767    def attachment(self):
768        '''QGLFramebufferObject.Attachment QGLFramebufferObject.attachment()'''
769        return QGLFramebufferObject.Attachment()
770
771
772class QGLFramebufferObjectFormat():
773    """"""
774    def __init__(self):
775        '''void QGLFramebufferObjectFormat.__init__()'''
776    def __init__(self, other):
777        '''void QGLFramebufferObjectFormat.__init__(QGLFramebufferObjectFormat other)'''
778    def mipmap(self):
779        '''bool QGLFramebufferObjectFormat.mipmap()'''
780        return bool()
781    def setMipmap(self, enabled):
782        '''void QGLFramebufferObjectFormat.setMipmap(bool enabled)'''
783    def __ne__(self, other):
784        '''bool QGLFramebufferObjectFormat.__ne__(QGLFramebufferObjectFormat other)'''
785        return bool()
786    def __eq__(self, other):
787        '''bool QGLFramebufferObjectFormat.__eq__(QGLFramebufferObjectFormat other)'''
788        return bool()
789    def internalTextureFormat(self):
790        '''int QGLFramebufferObjectFormat.internalTextureFormat()'''
791        return int()
792    def setInternalTextureFormat(self, internalTextureFormat):
793        '''void QGLFramebufferObjectFormat.setInternalTextureFormat(int internalTextureFormat)'''
794    def textureTarget(self):
795        '''int QGLFramebufferObjectFormat.textureTarget()'''
796        return int()
797    def setTextureTarget(self, target):
798        '''void QGLFramebufferObjectFormat.setTextureTarget(int target)'''
799    def attachment(self):
800        '''QGLFramebufferObject.Attachment QGLFramebufferObjectFormat.attachment()'''
801        return QGLFramebufferObject.Attachment()
802    def setAttachment(self, attachment):
803        '''void QGLFramebufferObjectFormat.setAttachment(QGLFramebufferObject.Attachment attachment)'''
804    def samples(self):
805        '''int QGLFramebufferObjectFormat.samples()'''
806        return int()
807    def setSamples(self, samples):
808        '''void QGLFramebufferObjectFormat.setSamples(int samples)'''
809
810
811class QGLPixelBuffer(QPaintDevice):
812    """"""
813    def __init__(self, size, format = None, shareWidget = None):
814        '''void QGLPixelBuffer.__init__(QSize size, QGLFormat format = QGLFormat.defaultFormat(), QGLWidget shareWidget = None)'''
815    def __init__(self, width, height, format = None, shareWidget = None):
816        '''void QGLPixelBuffer.__init__(int width, int height, QGLFormat format = QGLFormat.defaultFormat(), QGLWidget shareWidget = None)'''
817    def devType(self):
818        '''int QGLPixelBuffer.devType()'''
819        return int()
820    def metric(self, metric):
821        '''int QGLPixelBuffer.metric(QPaintDevice.PaintDeviceMetric metric)'''
822        return int()
823    def hasOpenGLPbuffers(self):
824        '''static bool QGLPixelBuffer.hasOpenGLPbuffers()'''
825        return bool()
826    def format(self):
827        '''QGLFormat QGLPixelBuffer.format()'''
828        return QGLFormat()
829    def paintEngine(self):
830        '''QPaintEngine QGLPixelBuffer.paintEngine()'''
831        return QPaintEngine()
832    def toImage(self):
833        '''QImage QGLPixelBuffer.toImage()'''
834        return QImage()
835    def handle(self):
836        '''int QGLPixelBuffer.handle()'''
837        return int()
838    def size(self):
839        '''QSize QGLPixelBuffer.size()'''
840        return QSize()
841    def deleteTexture(self, texture_id):
842        '''void QGLPixelBuffer.deleteTexture(int texture_id)'''
843    def drawTexture(self, target, textureId, textureTarget = None):
844        '''void QGLPixelBuffer.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
845    def drawTexture(self, point, textureId, textureTarget = None):
846        '''void QGLPixelBuffer.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
847    def bindTexture(self, image, target = None):
848        '''int QGLPixelBuffer.bindTexture(QImage image, int target = GL_TEXTURE_2D)'''
849        return int()
850    def bindTexture(self, pixmap, target = None):
851        '''int QGLPixelBuffer.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D)'''
852        return int()
853    def bindTexture(self, fileName):
854        '''int QGLPixelBuffer.bindTexture(QString fileName)'''
855        return int()
856    def updateDynamicTexture(self, texture_id):
857        '''void QGLPixelBuffer.updateDynamicTexture(int texture_id)'''
858    def releaseFromDynamicTexture(self):
859        '''void QGLPixelBuffer.releaseFromDynamicTexture()'''
860    def bindToDynamicTexture(self, texture):
861        '''bool QGLPixelBuffer.bindToDynamicTexture(int texture)'''
862        return bool()
863    def generateDynamicTexture(self):
864        '''int QGLPixelBuffer.generateDynamicTexture()'''
865        return int()
866    def doneCurrent(self):
867        '''bool QGLPixelBuffer.doneCurrent()'''
868        return bool()
869    def makeCurrent(self):
870        '''bool QGLPixelBuffer.makeCurrent()'''
871        return bool()
872    def isValid(self):
873        '''bool QGLPixelBuffer.isValid()'''
874        return bool()
875
876
877class QGLShader(QObject):
878    """"""
879    # Enum QGLShader.ShaderTypeBit
880    Vertex = 0
881    Fragment = 0
882    Geometry = 0
883
884    def __init__(self, type, parent = None):
885        '''void QGLShader.__init__(QGLShader.ShaderType type, QObject parent = None)'''
886    def __init__(self, type, context, parent = None):
887        '''void QGLShader.__init__(QGLShader.ShaderType type, QGLContext context, QObject parent = None)'''
888    def hasOpenGLShaders(self, type, context = None):
889        '''static bool QGLShader.hasOpenGLShaders(QGLShader.ShaderType type, QGLContext context = None)'''
890        return bool()
891    def shaderId(self):
892        '''int QGLShader.shaderId()'''
893        return int()
894    def log(self):
895        '''QString QGLShader.log()'''
896        return QString()
897    def isCompiled(self):
898        '''bool QGLShader.isCompiled()'''
899        return bool()
900    def sourceCode(self):
901        '''QByteArray QGLShader.sourceCode()'''
902        return QByteArray()
903    def compileSourceFile(self, fileName):
904        '''bool QGLShader.compileSourceFile(QString fileName)'''
905        return bool()
906    def compileSourceCode(self, source):
907        '''bool QGLShader.compileSourceCode(QByteArray source)'''
908        return bool()
909    def compileSourceCode(self, source):
910        '''bool QGLShader.compileSourceCode(QString source)'''
911        return bool()
912    def shaderType(self):
913        '''QGLShader.ShaderType QGLShader.shaderType()'''
914        return QGLShader.ShaderType()
915    class ShaderType():
916        """"""
917        def __init__(self):
918            '''QGLShader.ShaderType QGLShader.ShaderType.__init__()'''
919            return QGLShader.ShaderType()
920        def __init__(self):
921            '''int QGLShader.ShaderType.__init__()'''
922            return int()
923        def __init__(self):
924            '''void QGLShader.ShaderType.__init__()'''
925        def __bool__(self):
926            '''int QGLShader.ShaderType.__bool__()'''
927            return int()
928        def __ne__(self, f):
929            '''bool QGLShader.ShaderType.__ne__(QGLShader.ShaderType f)'''
930            return bool()
931        def __eq__(self, f):
932            '''bool QGLShader.ShaderType.__eq__(QGLShader.ShaderType f)'''
933            return bool()
934        def __invert__(self):
935            '''QGLShader.ShaderType QGLShader.ShaderType.__invert__()'''
936            return QGLShader.ShaderType()
937        def __and__(self, mask):
938            '''QGLShader.ShaderType QGLShader.ShaderType.__and__(int mask)'''
939            return QGLShader.ShaderType()
940        def __xor__(self, f):
941            '''QGLShader.ShaderType QGLShader.ShaderType.__xor__(QGLShader.ShaderType f)'''
942            return QGLShader.ShaderType()
943        def __xor__(self, f):
944            '''QGLShader.ShaderType QGLShader.ShaderType.__xor__(int f)'''
945            return QGLShader.ShaderType()
946        def __or__(self, f):
947            '''QGLShader.ShaderType QGLShader.ShaderType.__or__(QGLShader.ShaderType f)'''
948            return QGLShader.ShaderType()
949        def __or__(self, f):
950            '''QGLShader.ShaderType QGLShader.ShaderType.__or__(int f)'''
951            return QGLShader.ShaderType()
952        def __int__(self):
953            '''int QGLShader.ShaderType.__int__()'''
954            return int()
955        def __ixor__(self, f):
956            '''QGLShader.ShaderType QGLShader.ShaderType.__ixor__(QGLShader.ShaderType f)'''
957            return QGLShader.ShaderType()
958        def __ior__(self, f):
959            '''QGLShader.ShaderType QGLShader.ShaderType.__ior__(QGLShader.ShaderType f)'''
960            return QGLShader.ShaderType()
961        def __iand__(self, mask):
962            '''QGLShader.ShaderType QGLShader.ShaderType.__iand__(int mask)'''
963            return QGLShader.ShaderType()
964
965
966class QGLShaderProgram(QObject):
967    """"""
968    def __init__(self, parent = None):
969        '''void QGLShaderProgram.__init__(QObject parent = None)'''
970    def __init__(self, context, parent = None):
971        '''void QGLShaderProgram.__init__(QGLContext context, QObject parent = None)'''
972    def setAttributeBuffer(self, location, type, offset, tupleSize, stride = 0):
973        '''void QGLShaderProgram.setAttributeBuffer(int location, int type, int offset, int tupleSize, int stride = 0)'''
974    def setAttributeBuffer(self, name, type, offset, tupleSize, stride = 0):
975        '''void QGLShaderProgram.setAttributeBuffer(str name, int type, int offset, int tupleSize, int stride = 0)'''
976    def geometryOutputType(self):
977        '''int QGLShaderProgram.geometryOutputType()'''
978        return int()
979    def setGeometryOutputType(self, outputType):
980        '''void QGLShaderProgram.setGeometryOutputType(int outputType)'''
981    def geometryInputType(self):
982        '''int QGLShaderProgram.geometryInputType()'''
983        return int()
984    def setGeometryInputType(self, inputType):
985        '''void QGLShaderProgram.setGeometryInputType(int inputType)'''
986    def geometryOutputVertexCount(self):
987        '''int QGLShaderProgram.geometryOutputVertexCount()'''
988        return int()
989    def setGeometryOutputVertexCount(self, count):
990        '''void QGLShaderProgram.setGeometryOutputVertexCount(int count)'''
991    def hasOpenGLShaderPrograms(self, context = None):
992        '''static bool QGLShaderProgram.hasOpenGLShaderPrograms(QGLContext context = None)'''
993        return bool()
994    def setUniformValue(self, location, value):
995        '''void QGLShaderProgram.setUniformValue(int location, int value)'''
996    def setUniformValue(self, location, value):
997        '''void QGLShaderProgram.setUniformValue(int location, float value)'''
998    def setUniformValue(self, location, x, y):
999        '''void QGLShaderProgram.setUniformValue(int location, float x, float y)'''
1000    def setUniformValue(self, location, x, y, z):
1001        '''void QGLShaderProgram.setUniformValue(int location, float x, float y, float z)'''
1002    def setUniformValue(self, location, x, y, z, w):
1003        '''void QGLShaderProgram.setUniformValue(int location, float x, float y, float z, float w)'''
1004    def setUniformValue(self, location, value):
1005        '''void QGLShaderProgram.setUniformValue(int location, QVector2D value)'''
1006    def setUniformValue(self, location, value):
1007        '''void QGLShaderProgram.setUniformValue(int location, QVector3D value)'''
1008    def setUniformValue(self, location, value):
1009        '''void QGLShaderProgram.setUniformValue(int location, QVector4D value)'''
1010    def setUniformValue(self, location, color):
1011        '''void QGLShaderProgram.setUniformValue(int location, QColor color)'''
1012    def setUniformValue(self, location, point):
1013        '''void QGLShaderProgram.setUniformValue(int location, QPoint point)'''
1014    def setUniformValue(self, location, point):
1015        '''void QGLShaderProgram.setUniformValue(int location, QPointF point)'''
1016    def setUniformValue(self, location, size):
1017        '''void QGLShaderProgram.setUniformValue(int location, QSize size)'''
1018    def setUniformValue(self, location, size):
1019        '''void QGLShaderProgram.setUniformValue(int location, QSizeF size)'''
1020    def setUniformValue(self, location, value):
1021        '''void QGLShaderProgram.setUniformValue(int location, QMatrix2x2 value)'''
1022    def setUniformValue(self, location, value):
1023        '''void QGLShaderProgram.setUniformValue(int location, QMatrix2x3 value)'''
1024    def setUniformValue(self, location, value):
1025        '''void QGLShaderProgram.setUniformValue(int location, QMatrix2x4 value)'''
1026    def setUniformValue(self, location, value):
1027        '''void QGLShaderProgram.setUniformValue(int location, QMatrix3x2 value)'''
1028    def setUniformValue(self, location, value):
1029        '''void QGLShaderProgram.setUniformValue(int location, QMatrix3x3 value)'''
1030    def setUniformValue(self, location, value):
1031        '''void QGLShaderProgram.setUniformValue(int location, QMatrix3x4 value)'''
1032    def setUniformValue(self, location, value):
1033        '''void QGLShaderProgram.setUniformValue(int location, QMatrix4x2 value)'''
1034    def setUniformValue(self, location, value):
1035        '''void QGLShaderProgram.setUniformValue(int location, QMatrix4x3 value)'''
1036    def setUniformValue(self, location, value):
1037        '''void QGLShaderProgram.setUniformValue(int location, QMatrix4x4 value)'''
1038    def setUniformValue(self, location, value):
1039        '''void QGLShaderProgram.setUniformValue(int location, QTransform value)'''
1040    def setUniformValue(self, name, value):
1041        '''void QGLShaderProgram.setUniformValue(str name, int value)'''
1042    def setUniformValue(self, name, value):
1043        '''void QGLShaderProgram.setUniformValue(str name, float value)'''
1044    def setUniformValue(self, name, x, y):
1045        '''void QGLShaderProgram.setUniformValue(str name, float x, float y)'''
1046    def setUniformValue(self, name, x, y, z):
1047        '''void QGLShaderProgram.setUniformValue(str name, float x, float y, float z)'''
1048    def setUniformValue(self, name, x, y, z, w):
1049        '''void QGLShaderProgram.setUniformValue(str name, float x, float y, float z, float w)'''
1050    def setUniformValue(self, name, value):
1051        '''void QGLShaderProgram.setUniformValue(str name, QVector2D value)'''
1052    def setUniformValue(self, name, value):
1053        '''void QGLShaderProgram.setUniformValue(str name, QVector3D value)'''
1054    def setUniformValue(self, name, value):
1055        '''void QGLShaderProgram.setUniformValue(str name, QVector4D value)'''
1056    def setUniformValue(self, name, color):
1057        '''void QGLShaderProgram.setUniformValue(str name, QColor color)'''
1058    def setUniformValue(self, name, point):
1059        '''void QGLShaderProgram.setUniformValue(str name, QPoint point)'''
1060    def setUniformValue(self, name, point):
1061        '''void QGLShaderProgram.setUniformValue(str name, QPointF point)'''
1062    def setUniformValue(self, name, size):
1063        '''void QGLShaderProgram.setUniformValue(str name, QSize size)'''
1064    def setUniformValue(self, name, size):
1065        '''void QGLShaderProgram.setUniformValue(str name, QSizeF size)'''
1066    def setUniformValue(self, name, value):
1067        '''void QGLShaderProgram.setUniformValue(str name, QMatrix2x2 value)'''
1068    def setUniformValue(self, name, value):
1069        '''void QGLShaderProgram.setUniformValue(str name, QMatrix2x3 value)'''
1070    def setUniformValue(self, name, value):
1071        '''void QGLShaderProgram.setUniformValue(str name, QMatrix2x4 value)'''
1072    def setUniformValue(self, name, value):
1073        '''void QGLShaderProgram.setUniformValue(str name, QMatrix3x2 value)'''
1074    def setUniformValue(self, name, value):
1075        '''void QGLShaderProgram.setUniformValue(str name, QMatrix3x3 value)'''
1076    def setUniformValue(self, name, value):
1077        '''void QGLShaderProgram.setUniformValue(str name, QMatrix3x4 value)'''
1078    def setUniformValue(self, name, value):
1079        '''void QGLShaderProgram.setUniformValue(str name, QMatrix4x2 value)'''
1080    def setUniformValue(self, name, value):
1081        '''void QGLShaderProgram.setUniformValue(str name, QMatrix4x3 value)'''
1082    def setUniformValue(self, name, value):
1083        '''void QGLShaderProgram.setUniformValue(str name, QMatrix4x4 value)'''
1084    def setUniformValue(self, name, value):
1085        '''void QGLShaderProgram.setUniformValue(str name, QTransform value)'''
1086    def setUniformValueArray(self, location, values):
1087        '''void QGLShaderProgram.setUniformValueArray(int location, sequence values)'''
1088    def setUniformValueArray(self, name, values):
1089        '''void QGLShaderProgram.setUniformValueArray(str name, sequence values)'''
1090    def uniformLocation(self, name):
1091        '''int QGLShaderProgram.uniformLocation(QByteArray name)'''
1092        return int()
1093    def uniformLocation(self, name):
1094        '''int QGLShaderProgram.uniformLocation(QString name)'''
1095        return int()
1096    def disableAttributeArray(self, location):
1097        '''void QGLShaderProgram.disableAttributeArray(int location)'''
1098    def disableAttributeArray(self, name):
1099        '''void QGLShaderProgram.disableAttributeArray(str name)'''
1100    def enableAttributeArray(self, location):
1101        '''void QGLShaderProgram.enableAttributeArray(int location)'''
1102    def enableAttributeArray(self, name):
1103        '''void QGLShaderProgram.enableAttributeArray(str name)'''
1104    def setAttributeValue(self, location, value):
1105        '''void QGLShaderProgram.setAttributeValue(int location, float value)'''
1106    def setAttributeValue(self, location, x, y):
1107        '''void QGLShaderProgram.setAttributeValue(int location, float x, float y)'''
1108    def setAttributeValue(self, location, x, y, z):
1109        '''void QGLShaderProgram.setAttributeValue(int location, float x, float y, float z)'''
1110    def setAttributeValue(self, location, x, y, z, w):
1111        '''void QGLShaderProgram.setAttributeValue(int location, float x, float y, float z, float w)'''
1112    def setAttributeValue(self, location, value):
1113        '''void QGLShaderProgram.setAttributeValue(int location, QVector2D value)'''
1114    def setAttributeValue(self, location, value):
1115        '''void QGLShaderProgram.setAttributeValue(int location, QVector3D value)'''
1116    def setAttributeValue(self, location, value):
1117        '''void QGLShaderProgram.setAttributeValue(int location, QVector4D value)'''
1118    def setAttributeValue(self, location, value):
1119        '''void QGLShaderProgram.setAttributeValue(int location, QColor value)'''
1120    def setAttributeValue(self, name, value):
1121        '''void QGLShaderProgram.setAttributeValue(str name, float value)'''
1122    def setAttributeValue(self, name, x, y):
1123        '''void QGLShaderProgram.setAttributeValue(str name, float x, float y)'''
1124    def setAttributeValue(self, name, x, y, z):
1125        '''void QGLShaderProgram.setAttributeValue(str name, float x, float y, float z)'''
1126    def setAttributeValue(self, name, x, y, z, w):
1127        '''void QGLShaderProgram.setAttributeValue(str name, float x, float y, float z, float w)'''
1128    def setAttributeValue(self, name, value):
1129        '''void QGLShaderProgram.setAttributeValue(str name, QVector2D value)'''
1130    def setAttributeValue(self, name, value):
1131        '''void QGLShaderProgram.setAttributeValue(str name, QVector3D value)'''
1132    def setAttributeValue(self, name, value):
1133        '''void QGLShaderProgram.setAttributeValue(str name, QVector4D value)'''
1134    def setAttributeValue(self, name, value):
1135        '''void QGLShaderProgram.setAttributeValue(str name, QColor value)'''
1136    def setAttributeArray(self, location, values):
1137        '''void QGLShaderProgram.setAttributeArray(int location, sequence values)'''
1138    def setAttributeArray(self, name, values):
1139        '''void QGLShaderProgram.setAttributeArray(str name, sequence values)'''
1140    def attributeLocation(self, name):
1141        '''int QGLShaderProgram.attributeLocation(QByteArray name)'''
1142        return int()
1143    def attributeLocation(self, name):
1144        '''int QGLShaderProgram.attributeLocation(QString name)'''
1145        return int()
1146    def bindAttributeLocation(self, name, location):
1147        '''void QGLShaderProgram.bindAttributeLocation(QByteArray name, int location)'''
1148    def bindAttributeLocation(self, name, location):
1149        '''void QGLShaderProgram.bindAttributeLocation(QString name, int location)'''
1150    def programId(self):
1151        '''int QGLShaderProgram.programId()'''
1152        return int()
1153    def release(self):
1154        '''void QGLShaderProgram.release()'''
1155    def bind(self):
1156        '''bool QGLShaderProgram.bind()'''
1157        return bool()
1158    def log(self):
1159        '''QString QGLShaderProgram.log()'''
1160        return QString()
1161    def isLinked(self):
1162        '''bool QGLShaderProgram.isLinked()'''
1163        return bool()
1164    def link(self):
1165        '''bool QGLShaderProgram.link()'''
1166        return bool()
1167    def removeAllShaders(self):
1168        '''void QGLShaderProgram.removeAllShaders()'''
1169    def addShaderFromSourceFile(self, type, fileName):
1170        '''bool QGLShaderProgram.addShaderFromSourceFile(QGLShader.ShaderType type, QString fileName)'''
1171        return bool()
1172    def addShaderFromSourceCode(self, type, source):
1173        '''bool QGLShaderProgram.addShaderFromSourceCode(QGLShader.ShaderType type, QByteArray source)'''
1174        return bool()
1175    def addShaderFromSourceCode(self, type, source):
1176        '''bool QGLShaderProgram.addShaderFromSourceCode(QGLShader.ShaderType type, QString source)'''
1177        return bool()
1178    def shaders(self):
1179        '''list-of-QGLShader QGLShaderProgram.shaders()'''
1180        return [QGLShader()]
1181    def removeShader(self, shader):
1182        '''void QGLShaderProgram.removeShader(QGLShader shader)'''
1183    def addShader(self, shader):
1184        '''bool QGLShaderProgram.addShader(QGLShader shader)'''
1185        return bool()
1186
1187
1188