File indexing completed on 2024-05-12 16:08:52

0001 class pyqtSignal():
0002  def connect(self, targetSignal): pass
0003  def emit(self, *args): pass
0004 from QtCore import *
0005 
0006 class QGL():
0007     """"""
0008     # Enum QGL.FormatOption
0009     DoubleBuffer = 0
0010     DepthBuffer = 0
0011     Rgba = 0
0012     AlphaChannel = 0
0013     AccumBuffer = 0
0014     StencilBuffer = 0
0015     StereoBuffers = 0
0016     DirectRendering = 0
0017     HasOverlay = 0
0018     SampleBuffers = 0
0019     SingleBuffer = 0
0020     NoDepthBuffer = 0
0021     ColorIndex = 0
0022     NoAlphaChannel = 0
0023     NoAccumBuffer = 0
0024     NoStencilBuffer = 0
0025     NoStereoBuffers = 0
0026     IndirectRendering = 0
0027     NoOverlay = 0
0028     NoSampleBuffers = 0
0029     DeprecatedFunctions = 0
0030     NoDeprecatedFunctions = 0
0031 
0032     def setPreferredPaintEngine(self, engineType):
0033         '''static void QGL.setPreferredPaintEngine(QPaintEngine.Type engineType)'''
0034     class FormatOptions():
0035         """"""
0036         def __init__(self):
0037             '''QGL.FormatOptions QGL.FormatOptions.__init__()'''
0038             return QGL.FormatOptions()
0039         def __init__(self):
0040             '''int QGL.FormatOptions.__init__()'''
0041             return int()
0042         def __init__(self):
0043             '''void QGL.FormatOptions.__init__()'''
0044         def __bool__(self):
0045             '''int QGL.FormatOptions.__bool__()'''
0046             return int()
0047         def __ne__(self, f):
0048             '''bool QGL.FormatOptions.__ne__(QGL.FormatOptions f)'''
0049             return bool()
0050         def __eq__(self, f):
0051             '''bool QGL.FormatOptions.__eq__(QGL.FormatOptions f)'''
0052             return bool()
0053         def __invert__(self):
0054             '''QGL.FormatOptions QGL.FormatOptions.__invert__()'''
0055             return QGL.FormatOptions()
0056         def __and__(self, mask):
0057             '''QGL.FormatOptions QGL.FormatOptions.__and__(int mask)'''
0058             return QGL.FormatOptions()
0059         def __xor__(self, f):
0060             '''QGL.FormatOptions QGL.FormatOptions.__xor__(QGL.FormatOptions f)'''
0061             return QGL.FormatOptions()
0062         def __xor__(self, f):
0063             '''QGL.FormatOptions QGL.FormatOptions.__xor__(int f)'''
0064             return QGL.FormatOptions()
0065         def __or__(self, f):
0066             '''QGL.FormatOptions QGL.FormatOptions.__or__(QGL.FormatOptions f)'''
0067             return QGL.FormatOptions()
0068         def __or__(self, f):
0069             '''QGL.FormatOptions QGL.FormatOptions.__or__(int f)'''
0070             return QGL.FormatOptions()
0071         def __int__(self):
0072             '''int QGL.FormatOptions.__int__()'''
0073             return int()
0074         def __ixor__(self, f):
0075             '''QGL.FormatOptions QGL.FormatOptions.__ixor__(QGL.FormatOptions f)'''
0076             return QGL.FormatOptions()
0077         def __ior__(self, f):
0078             '''QGL.FormatOptions QGL.FormatOptions.__ior__(QGL.FormatOptions f)'''
0079             return QGL.FormatOptions()
0080         def __iand__(self, mask):
0081             '''QGL.FormatOptions QGL.FormatOptions.__iand__(int mask)'''
0082             return QGL.FormatOptions()
0083 
0084 
0085 class QGLFormat():
0086     """"""
0087     # Enum QGLFormat.OpenGLContextProfile
0088     NoProfile = 0
0089     CoreProfile = 0
0090     CompatibilityProfile = 0
0091 
0092     # Enum QGLFormat.OpenGLVersionFlag
0093     OpenGL_Version_None = 0
0094     OpenGL_Version_1_1 = 0
0095     OpenGL_Version_1_2 = 0
0096     OpenGL_Version_1_3 = 0
0097     OpenGL_Version_1_4 = 0
0098     OpenGL_Version_1_5 = 0
0099     OpenGL_Version_2_0 = 0
0100     OpenGL_Version_2_1 = 0
0101     OpenGL_Version_3_0 = 0
0102     OpenGL_Version_3_1 = 0
0103     OpenGL_Version_3_2 = 0
0104     OpenGL_Version_3_3 = 0
0105     OpenGL_Version_4_0 = 0
0106     OpenGL_ES_Common_Version_1_0 = 0
0107     OpenGL_ES_CommonLite_Version_1_0 = 0
0108     OpenGL_ES_Common_Version_1_1 = 0
0109     OpenGL_ES_CommonLite_Version_1_1 = 0
0110     OpenGL_ES_Version_2_0 = 0
0111 
0112     def __init__(self):
0113         '''void QGLFormat.__init__()'''
0114     def __init__(self, options, plane = 0):
0115         '''void QGLFormat.__init__(QGL.FormatOptions options, int plane = 0)'''
0116     def __init__(self, other):
0117         '''void QGLFormat.__init__(QGLFormat other)'''
0118     def __eq__(self):
0119         '''QGLFormat QGLFormat.__eq__()'''
0120         return QGLFormat()
0121     def __ne__(self):
0122         '''QGLFormat QGLFormat.__ne__()'''
0123         return QGLFormat()
0124     def profile(self):
0125         '''QGLFormat.OpenGLContextProfile QGLFormat.profile()'''
0126         return QGLFormat.OpenGLContextProfile()
0127     def setProfile(self, profile):
0128         '''void QGLFormat.setProfile(QGLFormat.OpenGLContextProfile profile)'''
0129     def minorVersion(self):
0130         '''int QGLFormat.minorVersion()'''
0131         return int()
0132     def majorVersion(self):
0133         '''int QGLFormat.majorVersion()'''
0134         return int()
0135     def setVersion(self, major, minor):
0136         '''void QGLFormat.setVersion(int major, int minor)'''
0137     def openGLVersionFlags(self):
0138         '''static QGLFormat.OpenGLVersionFlags QGLFormat.openGLVersionFlags()'''
0139         return QGLFormat.OpenGLVersionFlags()
0140     def swapInterval(self):
0141         '''int QGLFormat.swapInterval()'''
0142         return int()
0143     def setSwapInterval(self, interval):
0144         '''void QGLFormat.setSwapInterval(int interval)'''
0145     def blueBufferSize(self):
0146         '''int QGLFormat.blueBufferSize()'''
0147         return int()
0148     def setBlueBufferSize(self, size):
0149         '''void QGLFormat.setBlueBufferSize(int size)'''
0150     def greenBufferSize(self):
0151         '''int QGLFormat.greenBufferSize()'''
0152         return int()
0153     def setGreenBufferSize(self, size):
0154         '''void QGLFormat.setGreenBufferSize(int size)'''
0155     def redBufferSize(self):
0156         '''int QGLFormat.redBufferSize()'''
0157         return int()
0158     def setRedBufferSize(self, size):
0159         '''void QGLFormat.setRedBufferSize(int size)'''
0160     def sampleBuffers(self):
0161         '''bool QGLFormat.sampleBuffers()'''
0162         return bool()
0163     def hasOverlay(self):
0164         '''bool QGLFormat.hasOverlay()'''
0165         return bool()
0166     def directRendering(self):
0167         '''bool QGLFormat.directRendering()'''
0168         return bool()
0169     def stereo(self):
0170         '''bool QGLFormat.stereo()'''
0171         return bool()
0172     def stencil(self):
0173         '''bool QGLFormat.stencil()'''
0174         return bool()
0175     def accum(self):
0176         '''bool QGLFormat.accum()'''
0177         return bool()
0178     def alpha(self):
0179         '''bool QGLFormat.alpha()'''
0180         return bool()
0181     def rgba(self):
0182         '''bool QGLFormat.rgba()'''
0183         return bool()
0184     def depth(self):
0185         '''bool QGLFormat.depth()'''
0186         return bool()
0187     def doubleBuffer(self):
0188         '''bool QGLFormat.doubleBuffer()'''
0189         return bool()
0190     def hasOpenGLOverlays(self):
0191         '''static bool QGLFormat.hasOpenGLOverlays()'''
0192         return bool()
0193     def hasOpenGL(self):
0194         '''static bool QGLFormat.hasOpenGL()'''
0195         return bool()
0196     def setDefaultOverlayFormat(self, f):
0197         '''static void QGLFormat.setDefaultOverlayFormat(QGLFormat f)'''
0198     def defaultOverlayFormat(self):
0199         '''static QGLFormat QGLFormat.defaultOverlayFormat()'''
0200         return QGLFormat()
0201     def setDefaultFormat(self, f):
0202         '''static void QGLFormat.setDefaultFormat(QGLFormat f)'''
0203     def defaultFormat(self):
0204         '''static QGLFormat QGLFormat.defaultFormat()'''
0205         return QGLFormat()
0206     def testOption(self, opt):
0207         '''bool QGLFormat.testOption(QGL.FormatOptions opt)'''
0208         return bool()
0209     def setOption(self, opt):
0210         '''void QGLFormat.setOption(QGL.FormatOptions opt)'''
0211     def setPlane(self, plane):
0212         '''void QGLFormat.setPlane(int plane)'''
0213     def plane(self):
0214         '''int QGLFormat.plane()'''
0215         return int()
0216     def setOverlay(self, enable):
0217         '''void QGLFormat.setOverlay(bool enable)'''
0218     def setDirectRendering(self, enable):
0219         '''void QGLFormat.setDirectRendering(bool enable)'''
0220     def setStereo(self, enable):
0221         '''void QGLFormat.setStereo(bool enable)'''
0222     def setStencil(self, enable):
0223         '''void QGLFormat.setStencil(bool enable)'''
0224     def setAccum(self, enable):
0225         '''void QGLFormat.setAccum(bool enable)'''
0226     def setAlpha(self, enable):
0227         '''void QGLFormat.setAlpha(bool enable)'''
0228     def setRgba(self, enable):
0229         '''void QGLFormat.setRgba(bool enable)'''
0230     def setDepth(self, enable):
0231         '''void QGLFormat.setDepth(bool enable)'''
0232     def setDoubleBuffer(self, enable):
0233         '''void QGLFormat.setDoubleBuffer(bool enable)'''
0234     def samples(self):
0235         '''int QGLFormat.samples()'''
0236         return int()
0237     def setSamples(self, numSamples):
0238         '''void QGLFormat.setSamples(int numSamples)'''
0239     def setSampleBuffers(self, enable):
0240         '''void QGLFormat.setSampleBuffers(bool enable)'''
0241     def stencilBufferSize(self):
0242         '''int QGLFormat.stencilBufferSize()'''
0243         return int()
0244     def setStencilBufferSize(self, size):
0245         '''void QGLFormat.setStencilBufferSize(int size)'''
0246     def alphaBufferSize(self):
0247         '''int QGLFormat.alphaBufferSize()'''
0248         return int()
0249     def setAlphaBufferSize(self, size):
0250         '''void QGLFormat.setAlphaBufferSize(int size)'''
0251     def accumBufferSize(self):
0252         '''int QGLFormat.accumBufferSize()'''
0253         return int()
0254     def setAccumBufferSize(self, size):
0255         '''void QGLFormat.setAccumBufferSize(int size)'''
0256     def depthBufferSize(self):
0257         '''int QGLFormat.depthBufferSize()'''
0258         return int()
0259     def setDepthBufferSize(self, size):
0260         '''void QGLFormat.setDepthBufferSize(int size)'''
0261     class OpenGLVersionFlags():
0262         """"""
0263         def __init__(self):
0264             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__init__()'''
0265             return QGLFormat.OpenGLVersionFlags()
0266         def __init__(self):
0267             '''int QGLFormat.OpenGLVersionFlags.__init__()'''
0268             return int()
0269         def __init__(self):
0270             '''void QGLFormat.OpenGLVersionFlags.__init__()'''
0271         def __bool__(self):
0272             '''int QGLFormat.OpenGLVersionFlags.__bool__()'''
0273             return int()
0274         def __ne__(self, f):
0275             '''bool QGLFormat.OpenGLVersionFlags.__ne__(QGLFormat.OpenGLVersionFlags f)'''
0276             return bool()
0277         def __eq__(self, f):
0278             '''bool QGLFormat.OpenGLVersionFlags.__eq__(QGLFormat.OpenGLVersionFlags f)'''
0279             return bool()
0280         def __invert__(self):
0281             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__invert__()'''
0282             return QGLFormat.OpenGLVersionFlags()
0283         def __and__(self, mask):
0284             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__and__(int mask)'''
0285             return QGLFormat.OpenGLVersionFlags()
0286         def __xor__(self, f):
0287             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(QGLFormat.OpenGLVersionFlags f)'''
0288             return QGLFormat.OpenGLVersionFlags()
0289         def __xor__(self, f):
0290             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(int f)'''
0291             return QGLFormat.OpenGLVersionFlags()
0292         def __or__(self, f):
0293             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(QGLFormat.OpenGLVersionFlags f)'''
0294             return QGLFormat.OpenGLVersionFlags()
0295         def __or__(self, f):
0296             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(int f)'''
0297             return QGLFormat.OpenGLVersionFlags()
0298         def __int__(self):
0299             '''int QGLFormat.OpenGLVersionFlags.__int__()'''
0300             return int()
0301         def __ixor__(self, f):
0302             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ixor__(QGLFormat.OpenGLVersionFlags f)'''
0303             return QGLFormat.OpenGLVersionFlags()
0304         def __ior__(self, f):
0305             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ior__(QGLFormat.OpenGLVersionFlags f)'''
0306             return QGLFormat.OpenGLVersionFlags()
0307         def __iand__(self, mask):
0308             '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__iand__(int mask)'''
0309             return QGLFormat.OpenGLVersionFlags()
0310 
0311 
0312 class QGLContext():
0313     """"""
0314     # Enum QGLContext.BindOption
0315     NoBindOption = 0
0316     InvertedYBindOption = 0
0317     MipmapBindOption = 0
0318     PremultipliedAlphaBindOption = 0
0319     LinearFilteringBindOption = 0
0320     DefaultBindOption = 0
0321 
0322     def __init__(self, format, device):
0323         '''void QGLContext.__init__(QGLFormat format, QPaintDevice device)'''
0324     def areSharing(self, context1, context2):
0325         '''static bool QGLContext.areSharing(QGLContext context1, QGLContext context2)'''
0326         return bool()
0327     def generateFontDisplayLists(self, fnt, listBase):
0328         '''void QGLContext.generateFontDisplayLists(QFont fnt, int listBase)'''
0329     def setInitialized(self, on):
0330         '''void QGLContext.setInitialized(bool on)'''
0331     def initialized(self):
0332         '''bool QGLContext.initialized()'''
0333         return bool()
0334     def setWindowCreated(self, on):
0335         '''void QGLContext.setWindowCreated(bool on)'''
0336     def windowCreated(self):
0337         '''bool QGLContext.windowCreated()'''
0338         return bool()
0339     def deviceIsPixmap(self):
0340         '''bool QGLContext.deviceIsPixmap()'''
0341         return bool()
0342     def chooseContext(self, shareContext = None):
0343         '''bool QGLContext.chooseContext(QGLContext shareContext = None)'''
0344         return bool()
0345     def currentContext(self):
0346         '''static QGLContext QGLContext.currentContext()'''
0347         return QGLContext()
0348     def overlayTransparentColor(self):
0349         '''QColor QGLContext.overlayTransparentColor()'''
0350         return QColor()
0351     def device(self):
0352         '''QPaintDevice QGLContext.device()'''
0353         return QPaintDevice()
0354     def getProcAddress(self, proc):
0355         '''sip.voidptr QGLContext.getProcAddress(QString proc)'''
0356         return sip.voidptr()
0357     def textureCacheLimit(self):
0358         '''static int QGLContext.textureCacheLimit()'''
0359         return int()
0360     def setTextureCacheLimit(self, size):
0361         '''static void QGLContext.setTextureCacheLimit(int size)'''
0362     def deleteTexture(self, tx_id):
0363         '''void QGLContext.deleteTexture(int tx_id)'''
0364     def chooseVisual(self):
0365         '''sip.voidptr QGLContext.chooseVisual()'''
0366         return sip.voidptr()
0367     def drawTexture(self, target, textureId, textureTarget = None):
0368         '''void QGLContext.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0369     def drawTexture(self, point, textureId, textureTarget = None):
0370         '''void QGLContext.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0371     def bindTexture(self, image, target = None, format = None):
0372         '''int QGLContext.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
0373         return int()
0374     def bindTexture(self, pixmap, target = None, format = None):
0375         '''int QGLContext.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
0376         return int()
0377     def bindTexture(self, fileName):
0378         '''int QGLContext.bindTexture(QString fileName)'''
0379         return int()
0380     def bindTexture(self, image, target, format, options):
0381         '''int QGLContext.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)'''
0382         return int()
0383     def bindTexture(self, pixmap, target, format, options):
0384         '''int QGLContext.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)'''
0385         return int()
0386     def swapBuffers(self):
0387         '''void QGLContext.swapBuffers()'''
0388     def doneCurrent(self):
0389         '''void QGLContext.doneCurrent()'''
0390     def makeCurrent(self):
0391         '''void QGLContext.makeCurrent()'''
0392     def setFormat(self, format):
0393         '''void QGLContext.setFormat(QGLFormat format)'''
0394     def requestedFormat(self):
0395         '''QGLFormat QGLContext.requestedFormat()'''
0396         return QGLFormat()
0397     def format(self):
0398         '''QGLFormat QGLContext.format()'''
0399         return QGLFormat()
0400     def reset(self):
0401         '''void QGLContext.reset()'''
0402     def isSharing(self):
0403         '''bool QGLContext.isSharing()'''
0404         return bool()
0405     def isValid(self):
0406         '''bool QGLContext.isValid()'''
0407         return bool()
0408     def create(self, shareContext = None):
0409         '''bool QGLContext.create(QGLContext shareContext = None)'''
0410         return bool()
0411     class BindOptions():
0412         """"""
0413         def __init__(self):
0414             '''QGLContext.BindOptions QGLContext.BindOptions.__init__()'''
0415             return QGLContext.BindOptions()
0416         def __init__(self):
0417             '''int QGLContext.BindOptions.__init__()'''
0418             return int()
0419         def __init__(self):
0420             '''void QGLContext.BindOptions.__init__()'''
0421         def __bool__(self):
0422             '''int QGLContext.BindOptions.__bool__()'''
0423             return int()
0424         def __ne__(self, f):
0425             '''bool QGLContext.BindOptions.__ne__(QGLContext.BindOptions f)'''
0426             return bool()
0427         def __eq__(self, f):
0428             '''bool QGLContext.BindOptions.__eq__(QGLContext.BindOptions f)'''
0429             return bool()
0430         def __invert__(self):
0431             '''QGLContext.BindOptions QGLContext.BindOptions.__invert__()'''
0432             return QGLContext.BindOptions()
0433         def __and__(self, mask):
0434             '''QGLContext.BindOptions QGLContext.BindOptions.__and__(int mask)'''
0435             return QGLContext.BindOptions()
0436         def __xor__(self, f):
0437             '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(QGLContext.BindOptions f)'''
0438             return QGLContext.BindOptions()
0439         def __xor__(self, f):
0440             '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(int f)'''
0441             return QGLContext.BindOptions()
0442         def __or__(self, f):
0443             '''QGLContext.BindOptions QGLContext.BindOptions.__or__(QGLContext.BindOptions f)'''
0444             return QGLContext.BindOptions()
0445         def __or__(self, f):
0446             '''QGLContext.BindOptions QGLContext.BindOptions.__or__(int f)'''
0447             return QGLContext.BindOptions()
0448         def __int__(self):
0449             '''int QGLContext.BindOptions.__int__()'''
0450             return int()
0451         def __ixor__(self, f):
0452             '''QGLContext.BindOptions QGLContext.BindOptions.__ixor__(QGLContext.BindOptions f)'''
0453             return QGLContext.BindOptions()
0454         def __ior__(self, f):
0455             '''QGLContext.BindOptions QGLContext.BindOptions.__ior__(QGLContext.BindOptions f)'''
0456             return QGLContext.BindOptions()
0457         def __iand__(self, mask):
0458             '''QGLContext.BindOptions QGLContext.BindOptions.__iand__(int mask)'''
0459             return QGLContext.BindOptions()
0460 
0461 
0462 class QGLWidget(QWidget):
0463     """"""
0464     def __init__(self, parent = None, shareWidget = None, flags = 0):
0465         '''void QGLWidget.__init__(QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
0466     def __init__(self, context, parent = None, shareWidget = None, flags = 0):
0467         '''void QGLWidget.__init__(QGLContext context, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
0468     def __init__(self, format, parent = None, shareWidget = None, flags = 0):
0469         '''void QGLWidget.__init__(QGLFormat format, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)'''
0470     def fontDisplayListBase(self, font, listBase = 2000):
0471         '''int QGLWidget.fontDisplayListBase(QFont font, int listBase = 2000)'''
0472         return int()
0473     def glDraw(self):
0474         '''void QGLWidget.glDraw()'''
0475     def glInit(self):
0476         '''void QGLWidget.glInit()'''
0477     def resizeEvent(self):
0478         '''QResizeEvent QGLWidget.resizeEvent()'''
0479         return QResizeEvent()
0480     def paintEvent(self):
0481         '''QPaintEvent QGLWidget.paintEvent()'''
0482         return QPaintEvent()
0483     def autoBufferSwap(self):
0484         '''bool QGLWidget.autoBufferSwap()'''
0485         return bool()
0486     def setAutoBufferSwap(self, on):
0487         '''void QGLWidget.setAutoBufferSwap(bool on)'''
0488     def paintOverlayGL(self):
0489         '''void QGLWidget.paintOverlayGL()'''
0490     def resizeOverlayGL(self, w, h):
0491         '''void QGLWidget.resizeOverlayGL(int w, int h)'''
0492     def initializeOverlayGL(self):
0493         '''void QGLWidget.initializeOverlayGL()'''
0494     def paintGL(self):
0495         '''void QGLWidget.paintGL()'''
0496     def resizeGL(self, w, h):
0497         '''void QGLWidget.resizeGL(int w, int h)'''
0498     def initializeGL(self):
0499         '''void QGLWidget.initializeGL()'''
0500     def event(self):
0501         '''QEvent QGLWidget.event()'''
0502         return QEvent()
0503     def updateOverlayGL(self):
0504         '''void QGLWidget.updateOverlayGL()'''
0505     def updateGL(self):
0506         '''void QGLWidget.updateGL()'''
0507     def deleteTexture(self, tx_id):
0508         '''void QGLWidget.deleteTexture(int tx_id)'''
0509     def drawTexture(self, target, textureId, textureTarget = None):
0510         '''void QGLWidget.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0511     def drawTexture(self, point, textureId, textureTarget = None):
0512         '''void QGLWidget.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0513     def bindTexture(self, image, target = None, format = None):
0514         '''int QGLWidget.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
0515         return int()
0516     def bindTexture(self, pixmap, target = None, format = None):
0517         '''int QGLWidget.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)'''
0518         return int()
0519     def bindTexture(self, fileName):
0520         '''int QGLWidget.bindTexture(QString fileName)'''
0521         return int()
0522     def bindTexture(self, image, target, format, options):
0523         '''int QGLWidget.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)'''
0524         return int()
0525     def bindTexture(self, pixmap, target, format, options):
0526         '''int QGLWidget.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)'''
0527         return int()
0528     def paintEngine(self):
0529         '''QPaintEngine QGLWidget.paintEngine()'''
0530         return QPaintEngine()
0531     def renderText(self, x, y, str, font = QFont(), listBase = 2000):
0532         '''void QGLWidget.renderText(int x, int y, QString str, QFont font = QFont(), int listBase = 2000)'''
0533     def renderText(self, x, y, z, str, font = QFont(), listBase = 2000):
0534         '''void QGLWidget.renderText(float x, float y, float z, QString str, QFont font = QFont(), int listBase = 2000)'''
0535     def setColormap(self, map):
0536         '''void QGLWidget.setColormap(QGLColormap map)'''
0537     def colormap(self):
0538         '''QGLColormap QGLWidget.colormap()'''
0539         return QGLColormap()
0540     def setMouseTracking(self, enable):
0541         '''void QGLWidget.setMouseTracking(bool enable)'''
0542     def convertToGLFormat(self, img):
0543         '''static QImage QGLWidget.convertToGLFormat(QImage img)'''
0544         return QImage()
0545     def overlayContext(self):
0546         '''QGLContext QGLWidget.overlayContext()'''
0547         return QGLContext()
0548     def makeOverlayCurrent(self):
0549         '''void QGLWidget.makeOverlayCurrent()'''
0550     def grabFrameBuffer(self, withAlpha = False):
0551         '''QImage QGLWidget.grabFrameBuffer(bool withAlpha = False)'''
0552         return QImage()
0553     def renderPixmap(self, width = 0, height = 0, useContext = False):
0554         '''QPixmap QGLWidget.renderPixmap(int width = 0, int height = 0, bool useContext = False)'''
0555         return QPixmap()
0556     def setContext(self, context, shareContext = None, deleteOldContext = True):
0557         '''void QGLWidget.setContext(QGLContext context, QGLContext shareContext = None, bool deleteOldContext = True)'''
0558     def context(self):
0559         '''QGLContext QGLWidget.context()'''
0560         return QGLContext()
0561     def setFormat(self, format):
0562         '''void QGLWidget.setFormat(QGLFormat format)'''
0563     def format(self):
0564         '''QGLFormat QGLWidget.format()'''
0565         return QGLFormat()
0566     def swapBuffers(self):
0567         '''void QGLWidget.swapBuffers()'''
0568     def doubleBuffer(self):
0569         '''bool QGLWidget.doubleBuffer()'''
0570         return bool()
0571     def doneCurrent(self):
0572         '''void QGLWidget.doneCurrent()'''
0573     def makeCurrent(self):
0574         '''void QGLWidget.makeCurrent()'''
0575     def isSharing(self):
0576         '''bool QGLWidget.isSharing()'''
0577         return bool()
0578     def isValid(self):
0579         '''bool QGLWidget.isValid()'''
0580         return bool()
0581     def qglClearColor(self, c):
0582         '''void QGLWidget.qglClearColor(QColor c)'''
0583     def qglColor(self, c):
0584         '''void QGLWidget.qglColor(QColor c)'''
0585 
0586 
0587 class QGLBuffer():
0588     """"""
0589     # Enum QGLBuffer.UsagePattern
0590     StreamDraw = 0
0591     StreamRead = 0
0592     StreamCopy = 0
0593     StaticDraw = 0
0594     StaticRead = 0
0595     StaticCopy = 0
0596     DynamicDraw = 0
0597     DynamicRead = 0
0598     DynamicCopy = 0
0599 
0600     # Enum QGLBuffer.Type
0601     VertexBuffer = 0
0602     IndexBuffer = 0
0603     PixelPackBuffer = 0
0604     PixelUnpackBuffer = 0
0605 
0606     # Enum QGLBuffer.Access
0607     ReadOnly = 0
0608     WriteOnly = 0
0609     ReadWrite = 0
0610 
0611     def __init__(self):
0612         '''void QGLBuffer.__init__()'''
0613     def __init__(self, type):
0614         '''void QGLBuffer.__init__(QGLBuffer.Type type)'''
0615     def __init__(self, other):
0616         '''void QGLBuffer.__init__(QGLBuffer other)'''
0617     def unmap(self):
0618         '''bool QGLBuffer.unmap()'''
0619         return bool()
0620     def map(self, access):
0621         '''sip.voidptr QGLBuffer.map(QGLBuffer.Access access)'''
0622         return sip.voidptr()
0623     def allocate(self, data, count):
0624         '''void QGLBuffer.allocate(sip.voidptr data, int count)'''
0625     def allocate(self, count):
0626         '''void QGLBuffer.allocate(int count)'''
0627     def write(self, offset, data, count):
0628         '''void QGLBuffer.write(int offset, sip.voidptr data, int count)'''
0629     def read(self, offset, data, count):
0630         '''bool QGLBuffer.read(int offset, sip.voidptr data, int count)'''
0631         return bool()
0632     def size(self):
0633         '''int QGLBuffer.size()'''
0634         return int()
0635     def bufferId(self):
0636         '''int QGLBuffer.bufferId()'''
0637         return int()
0638     def release(self):
0639         '''void QGLBuffer.release()'''
0640     def release(self, type):
0641         '''static void QGLBuffer.release(QGLBuffer.Type type)'''
0642     def bind(self):
0643         '''bool QGLBuffer.bind()'''
0644         return bool()
0645     def destroy(self):
0646         '''void QGLBuffer.destroy()'''
0647     def isCreated(self):
0648         '''bool QGLBuffer.isCreated()'''
0649         return bool()
0650     def create(self):
0651         '''bool QGLBuffer.create()'''
0652         return bool()
0653     def setUsagePattern(self, value):
0654         '''void QGLBuffer.setUsagePattern(QGLBuffer.UsagePattern value)'''
0655     def usagePattern(self):
0656         '''QGLBuffer.UsagePattern QGLBuffer.usagePattern()'''
0657         return QGLBuffer.UsagePattern()
0658     def type(self):
0659         '''QGLBuffer.Type QGLBuffer.type()'''
0660         return QGLBuffer.Type()
0661 
0662 
0663 class QGLColormap():
0664     """"""
0665     def __init__(self):
0666         '''void QGLColormap.__init__()'''
0667     def __init__(self):
0668         '''QGLColormap QGLColormap.__init__()'''
0669         return QGLColormap()
0670     def setHandle(self, ahandle):
0671         '''void QGLColormap.setHandle(int ahandle)'''
0672     def handle(self):
0673         '''int QGLColormap.handle()'''
0674         return int()
0675     def findNearest(self, color):
0676         '''int QGLColormap.findNearest(int color)'''
0677         return int()
0678     def find(self, color):
0679         '''int QGLColormap.find(int color)'''
0680         return int()
0681     def entryColor(self, idx):
0682         '''QColor QGLColormap.entryColor(int idx)'''
0683         return QColor()
0684     def entryRgb(self, idx):
0685         '''int QGLColormap.entryRgb(int idx)'''
0686         return int()
0687     def setEntry(self, idx, color):
0688         '''void QGLColormap.setEntry(int idx, int color)'''
0689     def setEntry(self, idx, color):
0690         '''void QGLColormap.setEntry(int idx, QColor color)'''
0691     def setEntries(self, colors, base = 0):
0692         '''void QGLColormap.setEntries(list-of-int colors, int base = 0)'''
0693     def size(self):
0694         '''int QGLColormap.size()'''
0695         return int()
0696     def isEmpty(self):
0697         '''bool QGLColormap.isEmpty()'''
0698         return bool()
0699     def detach(self):
0700         '''void QGLColormap.detach()'''
0701 
0702 
0703 class QGLFramebufferObject(QPaintDevice):
0704     """"""
0705     # Enum QGLFramebufferObject.Attachment
0706     NoAttachment = 0
0707     CombinedDepthStencil = 0
0708     Depth = 0
0709 
0710     def __init__(self, size, target = None):
0711         '''void QGLFramebufferObject.__init__(QSize size, int target = GL_TEXTURE_2D)'''
0712     def __init__(self, width, height, target = None):
0713         '''void QGLFramebufferObject.__init__(int width, int height, int target = GL_TEXTURE_2D)'''
0714     def __init__(self, size, attachment, target = None, internalFormat = None):
0715         '''void QGLFramebufferObject.__init__(QSize size, QGLFramebufferObject.Attachment attachment, int target = GL_TEXTURE_2D, int internalFormat = GL_RGBA8)'''
0716     def __init__(self, width, height, attachment, target = None, internalFormat = None):
0717         '''void QGLFramebufferObject.__init__(int width, int height, QGLFramebufferObject.Attachment attachment, int target = GL_TEXTURE_2D, int internalFormat = GL_RGBA8)'''
0718     def __init__(self, size, format):
0719         '''void QGLFramebufferObject.__init__(QSize size, QGLFramebufferObjectFormat format)'''
0720     def __init__(self, width, height, format):
0721         '''void QGLFramebufferObject.__init__(int width, int height, QGLFramebufferObjectFormat format)'''
0722     def blitFramebuffer(self, target, targetRect, source, sourceRect, buffers = None, filter = None):
0723         '''static void QGLFramebufferObject.blitFramebuffer(QGLFramebufferObject target, QRect targetRect, QGLFramebufferObject source, QRect sourceRect, int buffers = GL_COLOR_BUFFER_BIT, int filter = GL_NEAREST)'''
0724     def hasOpenGLFramebufferBlit(self):
0725         '''static bool QGLFramebufferObject.hasOpenGLFramebufferBlit()'''
0726         return bool()
0727     def format(self):
0728         '''QGLFramebufferObjectFormat QGLFramebufferObject.format()'''
0729         return QGLFramebufferObjectFormat()
0730     def metric(self, metric):
0731         '''int QGLFramebufferObject.metric(QPaintDevice.PaintDeviceMetric metric)'''
0732         return int()
0733     def hasOpenGLFramebufferObjects(self):
0734         '''static bool QGLFramebufferObject.hasOpenGLFramebufferObjects()'''
0735         return bool()
0736     def handle(self):
0737         '''int QGLFramebufferObject.handle()'''
0738         return int()
0739     def paintEngine(self):
0740         '''QPaintEngine QGLFramebufferObject.paintEngine()'''
0741         return QPaintEngine()
0742     def toImage(self):
0743         '''QImage QGLFramebufferObject.toImage()'''
0744         return QImage()
0745     def size(self):
0746         '''QSize QGLFramebufferObject.size()'''
0747         return QSize()
0748     def drawTexture(self, target, textureId, textureTarget = None):
0749         '''void QGLFramebufferObject.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0750     def drawTexture(self, point, textureId, textureTarget = None):
0751         '''void QGLFramebufferObject.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0752     def texture(self):
0753         '''int QGLFramebufferObject.texture()'''
0754         return int()
0755     def release(self):
0756         '''bool QGLFramebufferObject.release()'''
0757         return bool()
0758     def isBound(self):
0759         '''bool QGLFramebufferObject.isBound()'''
0760         return bool()
0761     def bind(self):
0762         '''bool QGLFramebufferObject.bind()'''
0763         return bool()
0764     def isValid(self):
0765         '''bool QGLFramebufferObject.isValid()'''
0766         return bool()
0767     def attachment(self):
0768         '''QGLFramebufferObject.Attachment QGLFramebufferObject.attachment()'''
0769         return QGLFramebufferObject.Attachment()
0770 
0771 
0772 class QGLFramebufferObjectFormat():
0773     """"""
0774     def __init__(self):
0775         '''void QGLFramebufferObjectFormat.__init__()'''
0776     def __init__(self, other):
0777         '''void QGLFramebufferObjectFormat.__init__(QGLFramebufferObjectFormat other)'''
0778     def mipmap(self):
0779         '''bool QGLFramebufferObjectFormat.mipmap()'''
0780         return bool()
0781     def setMipmap(self, enabled):
0782         '''void QGLFramebufferObjectFormat.setMipmap(bool enabled)'''
0783     def __ne__(self, other):
0784         '''bool QGLFramebufferObjectFormat.__ne__(QGLFramebufferObjectFormat other)'''
0785         return bool()
0786     def __eq__(self, other):
0787         '''bool QGLFramebufferObjectFormat.__eq__(QGLFramebufferObjectFormat other)'''
0788         return bool()
0789     def internalTextureFormat(self):
0790         '''int QGLFramebufferObjectFormat.internalTextureFormat()'''
0791         return int()
0792     def setInternalTextureFormat(self, internalTextureFormat):
0793         '''void QGLFramebufferObjectFormat.setInternalTextureFormat(int internalTextureFormat)'''
0794     def textureTarget(self):
0795         '''int QGLFramebufferObjectFormat.textureTarget()'''
0796         return int()
0797     def setTextureTarget(self, target):
0798         '''void QGLFramebufferObjectFormat.setTextureTarget(int target)'''
0799     def attachment(self):
0800         '''QGLFramebufferObject.Attachment QGLFramebufferObjectFormat.attachment()'''
0801         return QGLFramebufferObject.Attachment()
0802     def setAttachment(self, attachment):
0803         '''void QGLFramebufferObjectFormat.setAttachment(QGLFramebufferObject.Attachment attachment)'''
0804     def samples(self):
0805         '''int QGLFramebufferObjectFormat.samples()'''
0806         return int()
0807     def setSamples(self, samples):
0808         '''void QGLFramebufferObjectFormat.setSamples(int samples)'''
0809 
0810 
0811 class QGLPixelBuffer(QPaintDevice):
0812     """"""
0813     def __init__(self, size, format = None, shareWidget = None):
0814         '''void QGLPixelBuffer.__init__(QSize size, QGLFormat format = QGLFormat.defaultFormat(), QGLWidget shareWidget = None)'''
0815     def __init__(self, width, height, format = None, shareWidget = None):
0816         '''void QGLPixelBuffer.__init__(int width, int height, QGLFormat format = QGLFormat.defaultFormat(), QGLWidget shareWidget = None)'''
0817     def devType(self):
0818         '''int QGLPixelBuffer.devType()'''
0819         return int()
0820     def metric(self, metric):
0821         '''int QGLPixelBuffer.metric(QPaintDevice.PaintDeviceMetric metric)'''
0822         return int()
0823     def hasOpenGLPbuffers(self):
0824         '''static bool QGLPixelBuffer.hasOpenGLPbuffers()'''
0825         return bool()
0826     def format(self):
0827         '''QGLFormat QGLPixelBuffer.format()'''
0828         return QGLFormat()
0829     def paintEngine(self):
0830         '''QPaintEngine QGLPixelBuffer.paintEngine()'''
0831         return QPaintEngine()
0832     def toImage(self):
0833         '''QImage QGLPixelBuffer.toImage()'''
0834         return QImage()
0835     def handle(self):
0836         '''int QGLPixelBuffer.handle()'''
0837         return int()
0838     def size(self):
0839         '''QSize QGLPixelBuffer.size()'''
0840         return QSize()
0841     def deleteTexture(self, texture_id):
0842         '''void QGLPixelBuffer.deleteTexture(int texture_id)'''
0843     def drawTexture(self, target, textureId, textureTarget = None):
0844         '''void QGLPixelBuffer.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0845     def drawTexture(self, point, textureId, textureTarget = None):
0846         '''void QGLPixelBuffer.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)'''
0847     def bindTexture(self, image, target = None):
0848         '''int QGLPixelBuffer.bindTexture(QImage image, int target = GL_TEXTURE_2D)'''
0849         return int()
0850     def bindTexture(self, pixmap, target = None):
0851         '''int QGLPixelBuffer.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D)'''
0852         return int()
0853     def bindTexture(self, fileName):
0854         '''int QGLPixelBuffer.bindTexture(QString fileName)'''
0855         return int()
0856     def updateDynamicTexture(self, texture_id):
0857         '''void QGLPixelBuffer.updateDynamicTexture(int texture_id)'''
0858     def releaseFromDynamicTexture(self):
0859         '''void QGLPixelBuffer.releaseFromDynamicTexture()'''
0860     def bindToDynamicTexture(self, texture):
0861         '''bool QGLPixelBuffer.bindToDynamicTexture(int texture)'''
0862         return bool()
0863     def generateDynamicTexture(self):
0864         '''int QGLPixelBuffer.generateDynamicTexture()'''
0865         return int()
0866     def doneCurrent(self):
0867         '''bool QGLPixelBuffer.doneCurrent()'''
0868         return bool()
0869     def makeCurrent(self):
0870         '''bool QGLPixelBuffer.makeCurrent()'''
0871         return bool()
0872     def isValid(self):
0873         '''bool QGLPixelBuffer.isValid()'''
0874         return bool()
0875 
0876 
0877 class QGLShader(QObject):
0878     """"""
0879     # Enum QGLShader.ShaderTypeBit
0880     Vertex = 0
0881     Fragment = 0
0882     Geometry = 0
0883 
0884     def __init__(self, type, parent = None):
0885         '''void QGLShader.__init__(QGLShader.ShaderType type, QObject parent = None)'''
0886     def __init__(self, type, context, parent = None):
0887         '''void QGLShader.__init__(QGLShader.ShaderType type, QGLContext context, QObject parent = None)'''
0888     def hasOpenGLShaders(self, type, context = None):
0889         '''static bool QGLShader.hasOpenGLShaders(QGLShader.ShaderType type, QGLContext context = None)'''
0890         return bool()
0891     def shaderId(self):
0892         '''int QGLShader.shaderId()'''
0893         return int()
0894     def log(self):
0895         '''QString QGLShader.log()'''
0896         return QString()
0897     def isCompiled(self):
0898         '''bool QGLShader.isCompiled()'''
0899         return bool()
0900     def sourceCode(self):
0901         '''QByteArray QGLShader.sourceCode()'''
0902         return QByteArray()
0903     def compileSourceFile(self, fileName):
0904         '''bool QGLShader.compileSourceFile(QString fileName)'''
0905         return bool()
0906     def compileSourceCode(self, source):
0907         '''bool QGLShader.compileSourceCode(QByteArray source)'''
0908         return bool()
0909     def compileSourceCode(self, source):
0910         '''bool QGLShader.compileSourceCode(QString source)'''
0911         return bool()
0912     def shaderType(self):
0913         '''QGLShader.ShaderType QGLShader.shaderType()'''
0914         return QGLShader.ShaderType()
0915     class ShaderType():
0916         """"""
0917         def __init__(self):
0918             '''QGLShader.ShaderType QGLShader.ShaderType.__init__()'''
0919             return QGLShader.ShaderType()
0920         def __init__(self):
0921             '''int QGLShader.ShaderType.__init__()'''
0922             return int()
0923         def __init__(self):
0924             '''void QGLShader.ShaderType.__init__()'''
0925         def __bool__(self):
0926             '''int QGLShader.ShaderType.__bool__()'''
0927             return int()
0928         def __ne__(self, f):
0929             '''bool QGLShader.ShaderType.__ne__(QGLShader.ShaderType f)'''
0930             return bool()
0931         def __eq__(self, f):
0932             '''bool QGLShader.ShaderType.__eq__(QGLShader.ShaderType f)'''
0933             return bool()
0934         def __invert__(self):
0935             '''QGLShader.ShaderType QGLShader.ShaderType.__invert__()'''
0936             return QGLShader.ShaderType()
0937         def __and__(self, mask):
0938             '''QGLShader.ShaderType QGLShader.ShaderType.__and__(int mask)'''
0939             return QGLShader.ShaderType()
0940         def __xor__(self, f):
0941             '''QGLShader.ShaderType QGLShader.ShaderType.__xor__(QGLShader.ShaderType f)'''
0942             return QGLShader.ShaderType()
0943         def __xor__(self, f):
0944             '''QGLShader.ShaderType QGLShader.ShaderType.__xor__(int f)'''
0945             return QGLShader.ShaderType()
0946         def __or__(self, f):
0947             '''QGLShader.ShaderType QGLShader.ShaderType.__or__(QGLShader.ShaderType f)'''
0948             return QGLShader.ShaderType()
0949         def __or__(self, f):
0950             '''QGLShader.ShaderType QGLShader.ShaderType.__or__(int f)'''
0951             return QGLShader.ShaderType()
0952         def __int__(self):
0953             '''int QGLShader.ShaderType.__int__()'''
0954             return int()
0955         def __ixor__(self, f):
0956             '''QGLShader.ShaderType QGLShader.ShaderType.__ixor__(QGLShader.ShaderType f)'''
0957             return QGLShader.ShaderType()
0958         def __ior__(self, f):
0959             '''QGLShader.ShaderType QGLShader.ShaderType.__ior__(QGLShader.ShaderType f)'''
0960             return QGLShader.ShaderType()
0961         def __iand__(self, mask):
0962             '''QGLShader.ShaderType QGLShader.ShaderType.__iand__(int mask)'''
0963             return QGLShader.ShaderType()
0964 
0965 
0966 class QGLShaderProgram(QObject):
0967     """"""
0968     def __init__(self, parent = None):
0969         '''void QGLShaderProgram.__init__(QObject parent = None)'''
0970     def __init__(self, context, parent = None):
0971         '''void QGLShaderProgram.__init__(QGLContext context, QObject parent = None)'''
0972     def setAttributeBuffer(self, location, type, offset, tupleSize, stride = 0):
0973         '''void QGLShaderProgram.setAttributeBuffer(int location, int type, int offset, int tupleSize, int stride = 0)'''
0974     def setAttributeBuffer(self, name, type, offset, tupleSize, stride = 0):
0975         '''void QGLShaderProgram.setAttributeBuffer(str name, int type, int offset, int tupleSize, int stride = 0)'''
0976     def geometryOutputType(self):
0977         '''int QGLShaderProgram.geometryOutputType()'''
0978         return int()
0979     def setGeometryOutputType(self, outputType):
0980         '''void QGLShaderProgram.setGeometryOutputType(int outputType)'''
0981     def geometryInputType(self):
0982         '''int QGLShaderProgram.geometryInputType()'''
0983         return int()
0984     def setGeometryInputType(self, inputType):
0985         '''void QGLShaderProgram.setGeometryInputType(int inputType)'''
0986     def geometryOutputVertexCount(self):
0987         '''int QGLShaderProgram.geometryOutputVertexCount()'''
0988         return int()
0989     def setGeometryOutputVertexCount(self, count):
0990         '''void QGLShaderProgram.setGeometryOutputVertexCount(int count)'''
0991     def hasOpenGLShaderPrograms(self, context = None):
0992         '''static bool QGLShaderProgram.hasOpenGLShaderPrograms(QGLContext context = None)'''
0993         return bool()
0994     def setUniformValue(self, location, value):
0995         '''void QGLShaderProgram.setUniformValue(int location, int value)'''
0996     def setUniformValue(self, location, value):
0997         '''void QGLShaderProgram.setUniformValue(int location, float value)'''
0998     def setUniformValue(self, location, x, y):
0999         '''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