File indexing completed on 2024-05-12 16:09:05
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QGL(): 0011 """""" 0012 # Enum QGL.FormatOption 0013 DoubleBuffer = 0 0014 DepthBuffer = 0 0015 Rgba = 0 0016 AlphaChannel = 0 0017 AccumBuffer = 0 0018 StencilBuffer = 0 0019 StereoBuffers = 0 0020 DirectRendering = 0 0021 HasOverlay = 0 0022 SampleBuffers = 0 0023 SingleBuffer = 0 0024 NoDepthBuffer = 0 0025 ColorIndex = 0 0026 NoAlphaChannel = 0 0027 NoAccumBuffer = 0 0028 NoStencilBuffer = 0 0029 NoStereoBuffers = 0 0030 IndirectRendering = 0 0031 NoOverlay = 0 0032 NoSampleBuffers = 0 0033 DeprecatedFunctions = 0 0034 NoDeprecatedFunctions = 0 0035 0036 class FormatOptions(): 0037 """""" 0038 def __init__(self): 0039 '''QGL.FormatOptions QGL.FormatOptions.__init__()''' 0040 return QGL.FormatOptions() 0041 def __init__(self): 0042 '''int QGL.FormatOptions.__init__()''' 0043 return int() 0044 def __init__(self): 0045 '''void QGL.FormatOptions.__init__()''' 0046 def __bool__(self): 0047 '''int QGL.FormatOptions.__bool__()''' 0048 return int() 0049 def __ne__(self, f): 0050 '''bool QGL.FormatOptions.__ne__(QGL.FormatOptions f)''' 0051 return bool() 0052 def __eq__(self, f): 0053 '''bool QGL.FormatOptions.__eq__(QGL.FormatOptions f)''' 0054 return bool() 0055 def __invert__(self): 0056 '''QGL.FormatOptions QGL.FormatOptions.__invert__()''' 0057 return QGL.FormatOptions() 0058 def __and__(self, mask): 0059 '''QGL.FormatOptions QGL.FormatOptions.__and__(int mask)''' 0060 return QGL.FormatOptions() 0061 def __xor__(self, f): 0062 '''QGL.FormatOptions QGL.FormatOptions.__xor__(QGL.FormatOptions f)''' 0063 return QGL.FormatOptions() 0064 def __xor__(self, f): 0065 '''QGL.FormatOptions QGL.FormatOptions.__xor__(int f)''' 0066 return QGL.FormatOptions() 0067 def __or__(self, f): 0068 '''QGL.FormatOptions QGL.FormatOptions.__or__(QGL.FormatOptions f)''' 0069 return QGL.FormatOptions() 0070 def __or__(self, f): 0071 '''QGL.FormatOptions QGL.FormatOptions.__or__(int f)''' 0072 return QGL.FormatOptions() 0073 def __int__(self): 0074 '''int QGL.FormatOptions.__int__()''' 0075 return int() 0076 def __ixor__(self, f): 0077 '''QGL.FormatOptions QGL.FormatOptions.__ixor__(QGL.FormatOptions f)''' 0078 return QGL.FormatOptions() 0079 def __ior__(self, f): 0080 '''QGL.FormatOptions QGL.FormatOptions.__ior__(QGL.FormatOptions f)''' 0081 return QGL.FormatOptions() 0082 def __iand__(self, mask): 0083 '''QGL.FormatOptions QGL.FormatOptions.__iand__(int mask)''' 0084 return QGL.FormatOptions() 0085 0086 0087 class QGLFormat(): 0088 """""" 0089 # Enum QGLFormat.OpenGLContextProfile 0090 NoProfile = 0 0091 CoreProfile = 0 0092 CompatibilityProfile = 0 0093 0094 # Enum QGLFormat.OpenGLVersionFlag 0095 OpenGL_Version_None = 0 0096 OpenGL_Version_1_1 = 0 0097 OpenGL_Version_1_2 = 0 0098 OpenGL_Version_1_3 = 0 0099 OpenGL_Version_1_4 = 0 0100 OpenGL_Version_1_5 = 0 0101 OpenGL_Version_2_0 = 0 0102 OpenGL_Version_2_1 = 0 0103 OpenGL_Version_3_0 = 0 0104 OpenGL_Version_3_1 = 0 0105 OpenGL_Version_3_2 = 0 0106 OpenGL_Version_3_3 = 0 0107 OpenGL_Version_4_0 = 0 0108 OpenGL_Version_4_1 = 0 0109 OpenGL_Version_4_2 = 0 0110 OpenGL_Version_4_3 = 0 0111 OpenGL_ES_Common_Version_1_0 = 0 0112 OpenGL_ES_CommonLite_Version_1_0 = 0 0113 OpenGL_ES_Common_Version_1_1 = 0 0114 OpenGL_ES_CommonLite_Version_1_1 = 0 0115 OpenGL_ES_Version_2_0 = 0 0116 0117 def __init__(self): 0118 '''void QGLFormat.__init__()''' 0119 def __init__(self, options, plane = 0): 0120 '''void QGLFormat.__init__(QGL.FormatOptions options, int plane = 0)''' 0121 def __init__(self, other): 0122 '''void QGLFormat.__init__(QGLFormat other)''' 0123 def __eq__(self): 0124 '''QGLFormat QGLFormat.__eq__()''' 0125 return QGLFormat() 0126 def __ne__(self): 0127 '''QGLFormat QGLFormat.__ne__()''' 0128 return QGLFormat() 0129 def profile(self): 0130 '''QGLFormat.OpenGLContextProfile QGLFormat.profile()''' 0131 return QGLFormat.OpenGLContextProfile() 0132 def setProfile(self, profile): 0133 '''void QGLFormat.setProfile(QGLFormat.OpenGLContextProfile profile)''' 0134 def minorVersion(self): 0135 '''int QGLFormat.minorVersion()''' 0136 return int() 0137 def majorVersion(self): 0138 '''int QGLFormat.majorVersion()''' 0139 return int() 0140 def setVersion(self, major, minor): 0141 '''void QGLFormat.setVersion(int major, int minor)''' 0142 def openGLVersionFlags(self): 0143 '''static QGLFormat.OpenGLVersionFlags QGLFormat.openGLVersionFlags()''' 0144 return QGLFormat.OpenGLVersionFlags() 0145 def swapInterval(self): 0146 '''int QGLFormat.swapInterval()''' 0147 return int() 0148 def setSwapInterval(self, interval): 0149 '''void QGLFormat.setSwapInterval(int interval)''' 0150 def blueBufferSize(self): 0151 '''int QGLFormat.blueBufferSize()''' 0152 return int() 0153 def setBlueBufferSize(self, size): 0154 '''void QGLFormat.setBlueBufferSize(int size)''' 0155 def greenBufferSize(self): 0156 '''int QGLFormat.greenBufferSize()''' 0157 return int() 0158 def setGreenBufferSize(self, size): 0159 '''void QGLFormat.setGreenBufferSize(int size)''' 0160 def redBufferSize(self): 0161 '''int QGLFormat.redBufferSize()''' 0162 return int() 0163 def setRedBufferSize(self, size): 0164 '''void QGLFormat.setRedBufferSize(int size)''' 0165 def sampleBuffers(self): 0166 '''bool QGLFormat.sampleBuffers()''' 0167 return bool() 0168 def hasOverlay(self): 0169 '''bool QGLFormat.hasOverlay()''' 0170 return bool() 0171 def directRendering(self): 0172 '''bool QGLFormat.directRendering()''' 0173 return bool() 0174 def stereo(self): 0175 '''bool QGLFormat.stereo()''' 0176 return bool() 0177 def stencil(self): 0178 '''bool QGLFormat.stencil()''' 0179 return bool() 0180 def accum(self): 0181 '''bool QGLFormat.accum()''' 0182 return bool() 0183 def alpha(self): 0184 '''bool QGLFormat.alpha()''' 0185 return bool() 0186 def rgba(self): 0187 '''bool QGLFormat.rgba()''' 0188 return bool() 0189 def depth(self): 0190 '''bool QGLFormat.depth()''' 0191 return bool() 0192 def doubleBuffer(self): 0193 '''bool QGLFormat.doubleBuffer()''' 0194 return bool() 0195 def hasOpenGLOverlays(self): 0196 '''static bool QGLFormat.hasOpenGLOverlays()''' 0197 return bool() 0198 def hasOpenGL(self): 0199 '''static bool QGLFormat.hasOpenGL()''' 0200 return bool() 0201 def setDefaultOverlayFormat(self, f): 0202 '''static void QGLFormat.setDefaultOverlayFormat(QGLFormat f)''' 0203 def defaultOverlayFormat(self): 0204 '''static QGLFormat QGLFormat.defaultOverlayFormat()''' 0205 return QGLFormat() 0206 def setDefaultFormat(self, f): 0207 '''static void QGLFormat.setDefaultFormat(QGLFormat f)''' 0208 def defaultFormat(self): 0209 '''static QGLFormat QGLFormat.defaultFormat()''' 0210 return QGLFormat() 0211 def testOption(self, opt): 0212 '''bool QGLFormat.testOption(QGL.FormatOptions opt)''' 0213 return bool() 0214 def setOption(self, opt): 0215 '''void QGLFormat.setOption(QGL.FormatOptions opt)''' 0216 def setPlane(self, plane): 0217 '''void QGLFormat.setPlane(int plane)''' 0218 def plane(self): 0219 '''int QGLFormat.plane()''' 0220 return int() 0221 def setOverlay(self, enable): 0222 '''void QGLFormat.setOverlay(bool enable)''' 0223 def setDirectRendering(self, enable): 0224 '''void QGLFormat.setDirectRendering(bool enable)''' 0225 def setStereo(self, enable): 0226 '''void QGLFormat.setStereo(bool enable)''' 0227 def setStencil(self, enable): 0228 '''void QGLFormat.setStencil(bool enable)''' 0229 def setAccum(self, enable): 0230 '''void QGLFormat.setAccum(bool enable)''' 0231 def setAlpha(self, enable): 0232 '''void QGLFormat.setAlpha(bool enable)''' 0233 def setRgba(self, enable): 0234 '''void QGLFormat.setRgba(bool enable)''' 0235 def setDepth(self, enable): 0236 '''void QGLFormat.setDepth(bool enable)''' 0237 def setDoubleBuffer(self, enable): 0238 '''void QGLFormat.setDoubleBuffer(bool enable)''' 0239 def samples(self): 0240 '''int QGLFormat.samples()''' 0241 return int() 0242 def setSamples(self, numSamples): 0243 '''void QGLFormat.setSamples(int numSamples)''' 0244 def setSampleBuffers(self, enable): 0245 '''void QGLFormat.setSampleBuffers(bool enable)''' 0246 def stencilBufferSize(self): 0247 '''int QGLFormat.stencilBufferSize()''' 0248 return int() 0249 def setStencilBufferSize(self, size): 0250 '''void QGLFormat.setStencilBufferSize(int size)''' 0251 def alphaBufferSize(self): 0252 '''int QGLFormat.alphaBufferSize()''' 0253 return int() 0254 def setAlphaBufferSize(self, size): 0255 '''void QGLFormat.setAlphaBufferSize(int size)''' 0256 def accumBufferSize(self): 0257 '''int QGLFormat.accumBufferSize()''' 0258 return int() 0259 def setAccumBufferSize(self, size): 0260 '''void QGLFormat.setAccumBufferSize(int size)''' 0261 def depthBufferSize(self): 0262 '''int QGLFormat.depthBufferSize()''' 0263 return int() 0264 def setDepthBufferSize(self, size): 0265 '''void QGLFormat.setDepthBufferSize(int size)''' 0266 class OpenGLVersionFlags(): 0267 """""" 0268 def __init__(self): 0269 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__init__()''' 0270 return QGLFormat.OpenGLVersionFlags() 0271 def __init__(self): 0272 '''int QGLFormat.OpenGLVersionFlags.__init__()''' 0273 return int() 0274 def __init__(self): 0275 '''void QGLFormat.OpenGLVersionFlags.__init__()''' 0276 def __bool__(self): 0277 '''int QGLFormat.OpenGLVersionFlags.__bool__()''' 0278 return int() 0279 def __ne__(self, f): 0280 '''bool QGLFormat.OpenGLVersionFlags.__ne__(QGLFormat.OpenGLVersionFlags f)''' 0281 return bool() 0282 def __eq__(self, f): 0283 '''bool QGLFormat.OpenGLVersionFlags.__eq__(QGLFormat.OpenGLVersionFlags f)''' 0284 return bool() 0285 def __invert__(self): 0286 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__invert__()''' 0287 return QGLFormat.OpenGLVersionFlags() 0288 def __and__(self, mask): 0289 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__and__(int mask)''' 0290 return QGLFormat.OpenGLVersionFlags() 0291 def __xor__(self, f): 0292 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(QGLFormat.OpenGLVersionFlags f)''' 0293 return QGLFormat.OpenGLVersionFlags() 0294 def __xor__(self, f): 0295 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__xor__(int f)''' 0296 return QGLFormat.OpenGLVersionFlags() 0297 def __or__(self, f): 0298 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(QGLFormat.OpenGLVersionFlags f)''' 0299 return QGLFormat.OpenGLVersionFlags() 0300 def __or__(self, f): 0301 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__or__(int f)''' 0302 return QGLFormat.OpenGLVersionFlags() 0303 def __int__(self): 0304 '''int QGLFormat.OpenGLVersionFlags.__int__()''' 0305 return int() 0306 def __ixor__(self, f): 0307 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ixor__(QGLFormat.OpenGLVersionFlags f)''' 0308 return QGLFormat.OpenGLVersionFlags() 0309 def __ior__(self, f): 0310 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__ior__(QGLFormat.OpenGLVersionFlags f)''' 0311 return QGLFormat.OpenGLVersionFlags() 0312 def __iand__(self, mask): 0313 '''QGLFormat.OpenGLVersionFlags QGLFormat.OpenGLVersionFlags.__iand__(int mask)''' 0314 return QGLFormat.OpenGLVersionFlags() 0315 0316 0317 class QGLContext(): 0318 """""" 0319 # Enum QGLContext.BindOption 0320 NoBindOption = 0 0321 InvertedYBindOption = 0 0322 MipmapBindOption = 0 0323 PremultipliedAlphaBindOption = 0 0324 LinearFilteringBindOption = 0 0325 DefaultBindOption = 0 0326 0327 def __init__(self, format): 0328 '''void QGLContext.__init__(QGLFormat format)''' 0329 def moveToThread(self, thread): 0330 '''void QGLContext.moveToThread(QThread thread)''' 0331 def areSharing(self, context1, context2): 0332 '''static bool QGLContext.areSharing(QGLContext context1, QGLContext context2)''' 0333 return bool() 0334 def setInitialized(self, on): 0335 '''void QGLContext.setInitialized(bool on)''' 0336 def initialized(self): 0337 '''bool QGLContext.initialized()''' 0338 return bool() 0339 def setWindowCreated(self, on): 0340 '''void QGLContext.setWindowCreated(bool on)''' 0341 def windowCreated(self): 0342 '''bool QGLContext.windowCreated()''' 0343 return bool() 0344 def deviceIsPixmap(self): 0345 '''bool QGLContext.deviceIsPixmap()''' 0346 return bool() 0347 def chooseContext(self, shareContext = None): 0348 '''bool QGLContext.chooseContext(QGLContext shareContext = None)''' 0349 return bool() 0350 def currentContext(self): 0351 '''static QGLContext QGLContext.currentContext()''' 0352 return QGLContext() 0353 def overlayTransparentColor(self): 0354 '''QColor QGLContext.overlayTransparentColor()''' 0355 return QColor() 0356 def device(self): 0357 '''QPaintDevice QGLContext.device()''' 0358 return QPaintDevice() 0359 def getProcAddress(self, proc): 0360 '''sip.voidptr QGLContext.getProcAddress(str proc)''' 0361 return sip.voidptr() 0362 def textureCacheLimit(self): 0363 '''static int QGLContext.textureCacheLimit()''' 0364 return int() 0365 def setTextureCacheLimit(self, size): 0366 '''static void QGLContext.setTextureCacheLimit(int size)''' 0367 def deleteTexture(self, tx_id): 0368 '''void QGLContext.deleteTexture(int tx_id)''' 0369 def drawTexture(self, target, textureId, textureTarget = None): 0370 '''void QGLContext.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)''' 0371 def drawTexture(self, point, textureId, textureTarget = None): 0372 '''void QGLContext.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)''' 0373 def bindTexture(self, image, target = None, format = None): 0374 '''int QGLContext.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)''' 0375 return int() 0376 def bindTexture(self, pixmap, target = None, format = None): 0377 '''int QGLContext.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)''' 0378 return int() 0379 def bindTexture(self, fileName): 0380 '''int QGLContext.bindTexture(str fileName)''' 0381 return int() 0382 def bindTexture(self, image, target, format, options): 0383 '''int QGLContext.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)''' 0384 return int() 0385 def bindTexture(self, pixmap, target, format, options): 0386 '''int QGLContext.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)''' 0387 return int() 0388 def swapBuffers(self): 0389 '''void QGLContext.swapBuffers()''' 0390 def doneCurrent(self): 0391 '''void QGLContext.doneCurrent()''' 0392 def makeCurrent(self): 0393 '''void QGLContext.makeCurrent()''' 0394 def setFormat(self, format): 0395 '''void QGLContext.setFormat(QGLFormat format)''' 0396 def requestedFormat(self): 0397 '''QGLFormat QGLContext.requestedFormat()''' 0398 return QGLFormat() 0399 def format(self): 0400 '''QGLFormat QGLContext.format()''' 0401 return QGLFormat() 0402 def reset(self): 0403 '''void QGLContext.reset()''' 0404 def isSharing(self): 0405 '''bool QGLContext.isSharing()''' 0406 return bool() 0407 def isValid(self): 0408 '''bool QGLContext.isValid()''' 0409 return bool() 0410 def create(self, shareContext = None): 0411 '''bool QGLContext.create(QGLContext shareContext = None)''' 0412 return bool() 0413 class BindOptions(): 0414 """""" 0415 def __init__(self): 0416 '''QGLContext.BindOptions QGLContext.BindOptions.__init__()''' 0417 return QGLContext.BindOptions() 0418 def __init__(self): 0419 '''int QGLContext.BindOptions.__init__()''' 0420 return int() 0421 def __init__(self): 0422 '''void QGLContext.BindOptions.__init__()''' 0423 def __bool__(self): 0424 '''int QGLContext.BindOptions.__bool__()''' 0425 return int() 0426 def __ne__(self, f): 0427 '''bool QGLContext.BindOptions.__ne__(QGLContext.BindOptions f)''' 0428 return bool() 0429 def __eq__(self, f): 0430 '''bool QGLContext.BindOptions.__eq__(QGLContext.BindOptions f)''' 0431 return bool() 0432 def __invert__(self): 0433 '''QGLContext.BindOptions QGLContext.BindOptions.__invert__()''' 0434 return QGLContext.BindOptions() 0435 def __and__(self, mask): 0436 '''QGLContext.BindOptions QGLContext.BindOptions.__and__(int mask)''' 0437 return QGLContext.BindOptions() 0438 def __xor__(self, f): 0439 '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(QGLContext.BindOptions f)''' 0440 return QGLContext.BindOptions() 0441 def __xor__(self, f): 0442 '''QGLContext.BindOptions QGLContext.BindOptions.__xor__(int f)''' 0443 return QGLContext.BindOptions() 0444 def __or__(self, f): 0445 '''QGLContext.BindOptions QGLContext.BindOptions.__or__(QGLContext.BindOptions f)''' 0446 return QGLContext.BindOptions() 0447 def __or__(self, f): 0448 '''QGLContext.BindOptions QGLContext.BindOptions.__or__(int f)''' 0449 return QGLContext.BindOptions() 0450 def __int__(self): 0451 '''int QGLContext.BindOptions.__int__()''' 0452 return int() 0453 def __ixor__(self, f): 0454 '''QGLContext.BindOptions QGLContext.BindOptions.__ixor__(QGLContext.BindOptions f)''' 0455 return QGLContext.BindOptions() 0456 def __ior__(self, f): 0457 '''QGLContext.BindOptions QGLContext.BindOptions.__ior__(QGLContext.BindOptions f)''' 0458 return QGLContext.BindOptions() 0459 def __iand__(self, mask): 0460 '''QGLContext.BindOptions QGLContext.BindOptions.__iand__(int mask)''' 0461 return QGLContext.BindOptions() 0462 0463 0464 class QGLWidget(QWidget): 0465 """""" 0466 def __init__(self, parent = None, shareWidget = None, flags = 0): 0467 '''void QGLWidget.__init__(QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)''' 0468 def __init__(self, context, parent = None, shareWidget = None, flags = 0): 0469 '''void QGLWidget.__init__(QGLContext context, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)''' 0470 def __init__(self, format, parent = None, shareWidget = None, flags = 0): 0471 '''void QGLWidget.__init__(QGLFormat format, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)''' 0472 def glDraw(self): 0473 '''void QGLWidget.glDraw()''' 0474 def glInit(self): 0475 '''void QGLWidget.glInit()''' 0476 def resizeEvent(self): 0477 '''QResizeEvent QGLWidget.resizeEvent()''' 0478 return QResizeEvent() 0479 def paintEvent(self): 0480 '''QPaintEvent QGLWidget.paintEvent()''' 0481 return QPaintEvent() 0482 def autoBufferSwap(self): 0483 '''bool QGLWidget.autoBufferSwap()''' 0484 return bool() 0485 def setAutoBufferSwap(self, on): 0486 '''void QGLWidget.setAutoBufferSwap(bool on)''' 0487 def paintOverlayGL(self): 0488 '''void QGLWidget.paintOverlayGL()''' 0489 def resizeOverlayGL(self, w, h): 0490 '''void QGLWidget.resizeOverlayGL(int w, int h)''' 0491 def initializeOverlayGL(self): 0492 '''void QGLWidget.initializeOverlayGL()''' 0493 def paintGL(self): 0494 '''void QGLWidget.paintGL()''' 0495 def resizeGL(self, w, h): 0496 '''void QGLWidget.resizeGL(int w, int h)''' 0497 def initializeGL(self): 0498 '''void QGLWidget.initializeGL()''' 0499 def event(self): 0500 '''QEvent QGLWidget.event()''' 0501 return QEvent() 0502 def updateOverlayGL(self): 0503 '''void QGLWidget.updateOverlayGL()''' 0504 def updateGL(self): 0505 '''void QGLWidget.updateGL()''' 0506 def deleteTexture(self, tx_id): 0507 '''void QGLWidget.deleteTexture(int tx_id)''' 0508 def drawTexture(self, target, textureId, textureTarget = None): 0509 '''void QGLWidget.drawTexture(QRectF target, int textureId, int textureTarget = GL_TEXTURE_2D)''' 0510 def drawTexture(self, point, textureId, textureTarget = None): 0511 '''void QGLWidget.drawTexture(QPointF point, int textureId, int textureTarget = GL_TEXTURE_2D)''' 0512 def bindTexture(self, image, target = None, format = None): 0513 '''int QGLWidget.bindTexture(QImage image, int target = GL_TEXTURE_2D, int format = GL_RGBA)''' 0514 return int() 0515 def bindTexture(self, pixmap, target = None, format = None): 0516 '''int QGLWidget.bindTexture(QPixmap pixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)''' 0517 return int() 0518 def bindTexture(self, fileName): 0519 '''int QGLWidget.bindTexture(str fileName)''' 0520 return int() 0521 def bindTexture(self, image, target, format, options): 0522 '''int QGLWidget.bindTexture(QImage image, int target, int format, QGLContext.BindOptions options)''' 0523 return int() 0524 def bindTexture(self, pixmap, target, format, options): 0525 '''int QGLWidget.bindTexture(QPixmap pixmap, int target, int format, QGLContext.BindOptions options)''' 0526 return int() 0527 def paintEngine(self): 0528 '''QPaintEngine QGLWidget.paintEngine()''' 0529 return QPaintEngine() 0530 def renderText(self, x, y, str, font = QFont()): 0531 '''void QGLWidget.renderText(int x, int y, str str, QFont font = QFont())''' 0532 def renderText(self, x, y, z, str, font = QFont()): 0533 '''void QGLWidget.renderText(float x, float y, float z, str str, QFont font = QFont())''' 0534 def convertToGLFormat(self, img): 0535 '''static QImage QGLWidget.convertToGLFormat(QImage img)''' 0536 return QImage() 0537 def overlayContext(self): 0538 '''QGLContext QGLWidget.overlayContext()''' 0539 return QGLContext() 0540 def makeOverlayCurrent(self): 0541 '''void QGLWidget.makeOverlayCurrent()''' 0542 def grabFrameBuffer(self, withAlpha = False): 0543 '''QImage QGLWidget.grabFrameBuffer(bool withAlpha = False)''' 0544 return QImage() 0545 def renderPixmap(self, width = 0, height = 0, useContext = False): 0546 '''QPixmap QGLWidget.renderPixmap(int width = 0, int height = 0, bool useContext = False)''' 0547 return QPixmap() 0548 def setContext(self, context, shareContext = None, deleteOldContext = True): 0549 '''void QGLWidget.setContext(QGLContext context, QGLContext shareContext = None, bool deleteOldContext = True)''' 0550 def context(self): 0551 '''QGLContext QGLWidget.context()''' 0552 return QGLContext() 0553 def format(self): 0554 '''QGLFormat QGLWidget.format()''' 0555 return QGLFormat() 0556 def swapBuffers(self): 0557 '''void QGLWidget.swapBuffers()''' 0558 def doubleBuffer(self): 0559 '''bool QGLWidget.doubleBuffer()''' 0560 return bool() 0561 def doneCurrent(self): 0562 '''void QGLWidget.doneCurrent()''' 0563 def makeCurrent(self): 0564 '''void QGLWidget.makeCurrent()''' 0565 def isSharing(self): 0566 '''bool QGLWidget.isSharing()''' 0567 return bool() 0568 def isValid(self): 0569 '''bool QGLWidget.isValid()''' 0570 return bool() 0571 def qglClearColor(self, c): 0572 '''void QGLWidget.qglClearColor(QColor c)''' 0573 def qglColor(self, c): 0574 '''void QGLWidget.qglColor(QColor c)''' 0575 0576