1class pyqtSignal(): 2 def connect(self, targetSignal): pass 3 def emit(self, *args): pass 4from QtCore import * 5 6from QtWidgets import * 7 8import datetime 9 10class QQuickItem(QObject, QQmlParserStatus): 11 """""" 12 # Enum QQuickItem.TransformOrigin 13 TopLeft = 0 14 Top = 0 15 TopRight = 0 16 Left = 0 17 Center = 0 18 Right = 0 19 BottomLeft = 0 20 Bottom = 0 21 BottomRight = 0 22 23 # Enum QQuickItem.ItemChange 24 ItemChildAddedChange = 0 25 ItemChildRemovedChange = 0 26 ItemSceneChange = 0 27 ItemVisibleHasChanged = 0 28 ItemParentHasChanged = 0 29 ItemOpacityHasChanged = 0 30 ItemActiveFocusHasChanged = 0 31 ItemRotationHasChanged = 0 32 ItemAntialiasingHasChanged = 0 33 34 # Enum QQuickItem.Flag 35 ItemClipsChildrenToShape = 0 36 ItemAcceptsInputMethod = 0 37 ItemIsFocusScope = 0 38 ItemHasContents = 0 39 ItemAcceptsDrops = 0 40 41 def __init__(self, parent = None): 42 '''void QQuickItem.__init__(QQuickItem parent = None)''' 43 def grabToImage(self, targetSize = QSize()): 44 '''QQuickItemGrabResult QQuickItem.grabToImage(QSize targetSize = QSize())''' 45 return QQuickItemGrabResult() 46 def resetAntialiasing(self): 47 '''void QQuickItem.resetAntialiasing()''' 48 windowChanged = pyqtSignal() # void windowChanged(QQuickWindow*) - signal 49 def nextItemInFocusChain(self, forward = True): 50 '''QQuickItem QQuickItem.nextItemInFocusChain(bool forward = True)''' 51 return QQuickItem() 52 def setActiveFocusOnTab(self): 53 '''bool QQuickItem.setActiveFocusOnTab()''' 54 return bool() 55 def activeFocusOnTab(self): 56 '''bool QQuickItem.activeFocusOnTab()''' 57 return bool() 58 def updatePolish(self): 59 '''void QQuickItem.updatePolish()''' 60 def releaseResources(self): 61 '''void QQuickItem.releaseResources()''' 62 def updatePaintNode(self): 63 '''QQuickItem.UpdatePaintNodeData QQuickItem.updatePaintNode()''' 64 return QQuickItem.UpdatePaintNodeData() 65 def geometryChanged(self, newGeometry, oldGeometry): 66 '''void QQuickItem.geometryChanged(QRectF newGeometry, QRectF oldGeometry)''' 67 def childMouseEventFilter(self): 68 '''QEvent QQuickItem.childMouseEventFilter()''' 69 return QEvent() 70 def dropEvent(self): 71 '''QDropEvent QQuickItem.dropEvent()''' 72 return QDropEvent() 73 def dragLeaveEvent(self): 74 '''QDragLeaveEvent QQuickItem.dragLeaveEvent()''' 75 return QDragLeaveEvent() 76 def dragMoveEvent(self): 77 '''QDragMoveEvent QQuickItem.dragMoveEvent()''' 78 return QDragMoveEvent() 79 def dragEnterEvent(self): 80 '''QDragEnterEvent QQuickItem.dragEnterEvent()''' 81 return QDragEnterEvent() 82 def hoverLeaveEvent(self, event): 83 '''void QQuickItem.hoverLeaveEvent(QHoverEvent event)''' 84 def hoverMoveEvent(self, event): 85 '''void QQuickItem.hoverMoveEvent(QHoverEvent event)''' 86 def hoverEnterEvent(self, event): 87 '''void QQuickItem.hoverEnterEvent(QHoverEvent event)''' 88 def touchEvent(self, event): 89 '''void QQuickItem.touchEvent(QTouchEvent event)''' 90 def wheelEvent(self, event): 91 '''void QQuickItem.wheelEvent(QWheelEvent event)''' 92 def touchUngrabEvent(self): 93 '''void QQuickItem.touchUngrabEvent()''' 94 def mouseUngrabEvent(self): 95 '''void QQuickItem.mouseUngrabEvent()''' 96 def mouseDoubleClickEvent(self, event): 97 '''void QQuickItem.mouseDoubleClickEvent(QMouseEvent event)''' 98 def mouseReleaseEvent(self, event): 99 '''void QQuickItem.mouseReleaseEvent(QMouseEvent event)''' 100 def mouseMoveEvent(self, event): 101 '''void QQuickItem.mouseMoveEvent(QMouseEvent event)''' 102 def mousePressEvent(self, event): 103 '''void QQuickItem.mousePressEvent(QMouseEvent event)''' 104 def focusOutEvent(self): 105 '''QFocusEvent QQuickItem.focusOutEvent()''' 106 return QFocusEvent() 107 def focusInEvent(self): 108 '''QFocusEvent QQuickItem.focusInEvent()''' 109 return QFocusEvent() 110 def inputMethodEvent(self): 111 '''QInputMethodEvent QQuickItem.inputMethodEvent()''' 112 return QInputMethodEvent() 113 def keyReleaseEvent(self, event): 114 '''void QQuickItem.keyReleaseEvent(QKeyEvent event)''' 115 def keyPressEvent(self, event): 116 '''void QQuickItem.keyPressEvent(QKeyEvent event)''' 117 def componentComplete(self): 118 '''void QQuickItem.componentComplete()''' 119 def classBegin(self): 120 '''void QQuickItem.classBegin()''' 121 def heightValid(self): 122 '''bool QQuickItem.heightValid()''' 123 return bool() 124 def widthValid(self): 125 '''bool QQuickItem.widthValid()''' 126 return bool() 127 def updateInputMethod(self, queries = None): 128 '''void QQuickItem.updateInputMethod(Qt.InputMethodQueries queries = Qt.ImQueryInput)''' 129 def itemChange(self): 130 '''QQuickItem.ItemChangeData QQuickItem.itemChange()''' 131 return QQuickItem.ItemChangeData() 132 def isComponentComplete(self): 133 '''bool QQuickItem.isComponentComplete()''' 134 return bool() 135 def event(self): 136 '''QEvent QQuickItem.event()''' 137 return QEvent() 138 def update(self): 139 '''void QQuickItem.update()''' 140 def textureProvider(self): 141 '''QSGTextureProvider QQuickItem.textureProvider()''' 142 return QSGTextureProvider() 143 def isTextureProvider(self): 144 '''bool QQuickItem.isTextureProvider()''' 145 return bool() 146 def inputMethodQuery(self, query): 147 '''QVariant QQuickItem.inputMethodQuery(Qt.InputMethodQuery query)''' 148 return QVariant() 149 def childAt(self, x, y): 150 '''QQuickItem QQuickItem.childAt(float x, float y)''' 151 return QQuickItem() 152 def forceActiveFocus(self): 153 '''void QQuickItem.forceActiveFocus()''' 154 def forceActiveFocus(self, reason): 155 '''void QQuickItem.forceActiveFocus(Qt.FocusReason reason)''' 156 def polish(self): 157 '''void QQuickItem.polish()''' 158 def mapRectFromScene(self, rect): 159 '''QRectF QQuickItem.mapRectFromScene(QRectF rect)''' 160 return QRectF() 161 def mapRectFromItem(self, item, rect): 162 '''QRectF QQuickItem.mapRectFromItem(QQuickItem item, QRectF rect)''' 163 return QRectF() 164 def mapFromScene(self, point): 165 '''QPointF QQuickItem.mapFromScene(QPointF point)''' 166 return QPointF() 167 def mapFromItem(self, item, point): 168 '''QPointF QQuickItem.mapFromItem(QQuickItem item, QPointF point)''' 169 return QPointF() 170 def mapRectToScene(self, rect): 171 '''QRectF QQuickItem.mapRectToScene(QRectF rect)''' 172 return QRectF() 173 def mapRectToItem(self, item, rect): 174 '''QRectF QQuickItem.mapRectToItem(QQuickItem item, QRectF rect)''' 175 return QRectF() 176 def mapToScene(self, point): 177 '''QPointF QQuickItem.mapToScene(QPointF point)''' 178 return QPointF() 179 def mapToItem(self, item, point): 180 '''QPointF QQuickItem.mapToItem(QQuickItem item, QPointF point)''' 181 return QPointF() 182 def contains(self, point): 183 '''bool QQuickItem.contains(QPointF point)''' 184 return bool() 185 def setKeepTouchGrab(self): 186 '''bool QQuickItem.setKeepTouchGrab()''' 187 return bool() 188 def keepTouchGrab(self): 189 '''bool QQuickItem.keepTouchGrab()''' 190 return bool() 191 def ungrabTouchPoints(self): 192 '''void QQuickItem.ungrabTouchPoints()''' 193 def grabTouchPoints(self, ids): 194 '''void QQuickItem.grabTouchPoints(list-of-int ids)''' 195 def setFiltersChildMouseEvents(self, filter): 196 '''void QQuickItem.setFiltersChildMouseEvents(bool filter)''' 197 def filtersChildMouseEvents(self): 198 '''bool QQuickItem.filtersChildMouseEvents()''' 199 return bool() 200 def setKeepMouseGrab(self): 201 '''bool QQuickItem.setKeepMouseGrab()''' 202 return bool() 203 def keepMouseGrab(self): 204 '''bool QQuickItem.keepMouseGrab()''' 205 return bool() 206 def ungrabMouse(self): 207 '''void QQuickItem.ungrabMouse()''' 208 def grabMouse(self): 209 '''void QQuickItem.grabMouse()''' 210 def unsetCursor(self): 211 '''void QQuickItem.unsetCursor()''' 212 def setCursor(self, cursor): 213 '''void QQuickItem.setCursor(QCursor cursor)''' 214 def cursor(self): 215 '''QCursor QQuickItem.cursor()''' 216 return QCursor() 217 def setAcceptHoverEvents(self, enabled): 218 '''void QQuickItem.setAcceptHoverEvents(bool enabled)''' 219 def acceptHoverEvents(self): 220 '''bool QQuickItem.acceptHoverEvents()''' 221 return bool() 222 def setAcceptedMouseButtons(self, buttons): 223 '''void QQuickItem.setAcceptedMouseButtons(Qt.MouseButtons buttons)''' 224 def acceptedMouseButtons(self): 225 '''Qt.MouseButtons QQuickItem.acceptedMouseButtons()''' 226 return Qt.MouseButtons() 227 def scopedFocusItem(self): 228 '''QQuickItem QQuickItem.scopedFocusItem()''' 229 return QQuickItem() 230 def isFocusScope(self): 231 '''bool QQuickItem.isFocusScope()''' 232 return bool() 233 def setFocus(self): 234 '''bool QQuickItem.setFocus()''' 235 return bool() 236 def setFocus(self, focus, reason): 237 '''void QQuickItem.setFocus(bool focus, Qt.FocusReason reason)''' 238 def hasFocus(self): 239 '''bool QQuickItem.hasFocus()''' 240 return bool() 241 def hasActiveFocus(self): 242 '''bool QQuickItem.hasActiveFocus()''' 243 return bool() 244 def setFlags(self, flags): 245 '''void QQuickItem.setFlags(QQuickItem.Flags flags)''' 246 def setFlag(self, flag, enabled = True): 247 '''void QQuickItem.setFlag(QQuickItem.Flag flag, bool enabled = True)''' 248 def flags(self): 249 '''QQuickItem.Flags QQuickItem.flags()''' 250 return QQuickItem.Flags() 251 def setAntialiasing(self): 252 '''bool QQuickItem.setAntialiasing()''' 253 return bool() 254 def antialiasing(self): 255 '''bool QQuickItem.antialiasing()''' 256 return bool() 257 def setSmooth(self): 258 '''bool QQuickItem.setSmooth()''' 259 return bool() 260 def smooth(self): 261 '''bool QQuickItem.smooth()''' 262 return bool() 263 def setEnabled(self): 264 '''bool QQuickItem.setEnabled()''' 265 return bool() 266 def isEnabled(self): 267 '''bool QQuickItem.isEnabled()''' 268 return bool() 269 def setVisible(self): 270 '''bool QQuickItem.setVisible()''' 271 return bool() 272 def isVisible(self): 273 '''bool QQuickItem.isVisible()''' 274 return bool() 275 def setOpacity(self): 276 '''float QQuickItem.setOpacity()''' 277 return float() 278 def opacity(self): 279 '''float QQuickItem.opacity()''' 280 return float() 281 def setScale(self): 282 '''float QQuickItem.setScale()''' 283 return float() 284 def scale(self): 285 '''float QQuickItem.scale()''' 286 return float() 287 def setRotation(self): 288 '''float QQuickItem.setRotation()''' 289 return float() 290 def rotation(self): 291 '''float QQuickItem.rotation()''' 292 return float() 293 def setZ(self): 294 '''float QQuickItem.setZ()''' 295 return float() 296 def z(self): 297 '''float QQuickItem.z()''' 298 return float() 299 def setTransformOrigin(self): 300 '''QQuickItem.TransformOrigin QQuickItem.setTransformOrigin()''' 301 return QQuickItem.TransformOrigin() 302 def transformOrigin(self): 303 '''QQuickItem.TransformOrigin QQuickItem.transformOrigin()''' 304 return QQuickItem.TransformOrigin() 305 def implicitHeight(self): 306 '''float QQuickItem.implicitHeight()''' 307 return float() 308 def setImplicitHeight(self): 309 '''float QQuickItem.setImplicitHeight()''' 310 return float() 311 def resetHeight(self): 312 '''void QQuickItem.resetHeight()''' 313 def setHeight(self): 314 '''float QQuickItem.setHeight()''' 315 return float() 316 def height(self): 317 '''float QQuickItem.height()''' 318 return float() 319 def implicitWidth(self): 320 '''float QQuickItem.implicitWidth()''' 321 return float() 322 def setImplicitWidth(self): 323 '''float QQuickItem.setImplicitWidth()''' 324 return float() 325 def resetWidth(self): 326 '''void QQuickItem.resetWidth()''' 327 def setWidth(self): 328 '''float QQuickItem.setWidth()''' 329 return float() 330 def width(self): 331 '''float QQuickItem.width()''' 332 return float() 333 def setY(self): 334 '''float QQuickItem.setY()''' 335 return float() 336 def setX(self): 337 '''float QQuickItem.setX()''' 338 return float() 339 def y(self): 340 '''float QQuickItem.y()''' 341 return float() 342 def x(self): 343 '''float QQuickItem.x()''' 344 return float() 345 def setBaselineOffset(self): 346 '''float QQuickItem.setBaselineOffset()''' 347 return float() 348 def baselineOffset(self): 349 '''float QQuickItem.baselineOffset()''' 350 return float() 351 def setState(self): 352 '''str QQuickItem.setState()''' 353 return str() 354 def state(self): 355 '''str QQuickItem.state()''' 356 return str() 357 def setClip(self): 358 '''bool QQuickItem.setClip()''' 359 return bool() 360 def clip(self): 361 '''bool QQuickItem.clip()''' 362 return bool() 363 def childItems(self): 364 '''list-of-QQuickItem QQuickItem.childItems()''' 365 return [QQuickItem()] 366 def childrenRect(self): 367 '''QRectF QQuickItem.childrenRect()''' 368 return QRectF() 369 def stackAfter(self): 370 '''QQuickItem QQuickItem.stackAfter()''' 371 return QQuickItem() 372 def stackBefore(self): 373 '''QQuickItem QQuickItem.stackBefore()''' 374 return QQuickItem() 375 def setParentItem(self, parent): 376 '''void QQuickItem.setParentItem(QQuickItem parent)''' 377 def parentItem(self): 378 '''QQuickItem QQuickItem.parentItem()''' 379 return QQuickItem() 380 def window(self): 381 '''QQuickWindow QQuickItem.window()''' 382 return QQuickWindow() 383 class ItemChangeData(): 384 """""" 385 boolValue = None # bool - member 386 item = None # QQuickItem - member 387 realValue = None # float - member 388 window = None # QQuickWindow - member 389 def __init__(self, v): 390 '''void QQuickItem.ItemChangeData.__init__(QQuickItem v)''' 391 def __init__(self, v): 392 '''void QQuickItem.ItemChangeData.__init__(QQuickWindow v)''' 393 def __init__(self, v): 394 '''void QQuickItem.ItemChangeData.__init__(float v)''' 395 def __init__(self, v): 396 '''void QQuickItem.ItemChangeData.__init__(bool v)''' 397 def __init__(self): 398 '''QQuickItem.ItemChangeData QQuickItem.ItemChangeData.__init__()''' 399 return QQuickItem.ItemChangeData() 400 class Flags(): 401 """""" 402 def __init__(self): 403 '''QQuickItem.Flags QQuickItem.Flags.__init__()''' 404 return QQuickItem.Flags() 405 def __init__(self): 406 '''int QQuickItem.Flags.__init__()''' 407 return int() 408 def __init__(self): 409 '''void QQuickItem.Flags.__init__()''' 410 def __bool__(self): 411 '''int QQuickItem.Flags.__bool__()''' 412 return int() 413 def __ne__(self, f): 414 '''bool QQuickItem.Flags.__ne__(QQuickItem.Flags f)''' 415 return bool() 416 def __eq__(self, f): 417 '''bool QQuickItem.Flags.__eq__(QQuickItem.Flags f)''' 418 return bool() 419 def __invert__(self): 420 '''QQuickItem.Flags QQuickItem.Flags.__invert__()''' 421 return QQuickItem.Flags() 422 def __and__(self, mask): 423 '''QQuickItem.Flags QQuickItem.Flags.__and__(int mask)''' 424 return QQuickItem.Flags() 425 def __xor__(self, f): 426 '''QQuickItem.Flags QQuickItem.Flags.__xor__(QQuickItem.Flags f)''' 427 return QQuickItem.Flags() 428 def __xor__(self, f): 429 '''QQuickItem.Flags QQuickItem.Flags.__xor__(int f)''' 430 return QQuickItem.Flags() 431 def __or__(self, f): 432 '''QQuickItem.Flags QQuickItem.Flags.__or__(QQuickItem.Flags f)''' 433 return QQuickItem.Flags() 434 def __or__(self, f): 435 '''QQuickItem.Flags QQuickItem.Flags.__or__(int f)''' 436 return QQuickItem.Flags() 437 def __int__(self): 438 '''int QQuickItem.Flags.__int__()''' 439 return int() 440 def __ixor__(self, f): 441 '''QQuickItem.Flags QQuickItem.Flags.__ixor__(QQuickItem.Flags f)''' 442 return QQuickItem.Flags() 443 def __ior__(self, f): 444 '''QQuickItem.Flags QQuickItem.Flags.__ior__(QQuickItem.Flags f)''' 445 return QQuickItem.Flags() 446 def __iand__(self, mask): 447 '''QQuickItem.Flags QQuickItem.Flags.__iand__(int mask)''' 448 return QQuickItem.Flags() 449 class UpdatePaintNodeData(): 450 """""" 451 transformNode = None # QSGTransformNode - member 452 def __init__(self): 453 '''QQuickItem.UpdatePaintNodeData QQuickItem.UpdatePaintNodeData.__init__()''' 454 return QQuickItem.UpdatePaintNodeData() 455 456 457class QQuickFramebufferObject(QQuickItem): 458 """""" 459 def __init__(self, parent = None): 460 '''void QQuickFramebufferObject.__init__(QQuickItem parent = None)''' 461 def releaseResources(self): 462 '''void QQuickFramebufferObject.releaseResources()''' 463 def textureProvider(self): 464 '''QSGTextureProvider QQuickFramebufferObject.textureProvider()''' 465 return QSGTextureProvider() 466 def isTextureProvider(self): 467 '''bool QQuickFramebufferObject.isTextureProvider()''' 468 return bool() 469 textureFollowsItemSizeChanged = pyqtSignal() # void textureFollowsItemSizeChanged(bool) - signal 470 def updatePaintNode(self): 471 '''QQuickItem.UpdatePaintNodeData QQuickFramebufferObject.updatePaintNode()''' 472 return QQuickItem.UpdatePaintNodeData() 473 def geometryChanged(self, newGeometry, oldGeometry): 474 '''void QQuickFramebufferObject.geometryChanged(QRectF newGeometry, QRectF oldGeometry)''' 475 def createRenderer(self): 476 '''abstract QQuickFramebufferObject.Renderer QQuickFramebufferObject.createRenderer()''' 477 return QQuickFramebufferObject.Renderer() 478 def setTextureFollowsItemSize(self, follows): 479 '''void QQuickFramebufferObject.setTextureFollowsItemSize(bool follows)''' 480 def textureFollowsItemSize(self): 481 '''bool QQuickFramebufferObject.textureFollowsItemSize()''' 482 return bool() 483 class Renderer(): 484 """""" 485 def __init__(self): 486 '''void QQuickFramebufferObject.Renderer.__init__()''' 487 def __init__(self): 488 '''QQuickFramebufferObject.Renderer QQuickFramebufferObject.Renderer.__init__()''' 489 return QQuickFramebufferObject.Renderer() 490 def invalidateFramebufferObject(self): 491 '''void QQuickFramebufferObject.Renderer.invalidateFramebufferObject()''' 492 def update(self): 493 '''void QQuickFramebufferObject.Renderer.update()''' 494 def framebufferObject(self): 495 '''QOpenGLFramebufferObject QQuickFramebufferObject.Renderer.framebufferObject()''' 496 return QOpenGLFramebufferObject() 497 def synchronize(self): 498 '''QQuickFramebufferObject QQuickFramebufferObject.Renderer.synchronize()''' 499 return QQuickFramebufferObject() 500 def createFramebufferObject(self, size): 501 '''QOpenGLFramebufferObject QQuickFramebufferObject.Renderer.createFramebufferObject(QSize size)''' 502 return QOpenGLFramebufferObject() 503 def render(self): 504 '''abstract void QQuickFramebufferObject.Renderer.render()''' 505 506 507class QQuickTextureFactory(QObject): 508 """""" 509 def __init__(self): 510 '''void QQuickTextureFactory.__init__()''' 511 def image(self): 512 '''QImage QQuickTextureFactory.image()''' 513 return QImage() 514 def textureByteCount(self): 515 '''abstract int QQuickTextureFactory.textureByteCount()''' 516 return int() 517 def textureSize(self): 518 '''abstract QSize QQuickTextureFactory.textureSize()''' 519 return QSize() 520 def createTexture(self, window): 521 '''abstract QSGTexture QQuickTextureFactory.createTexture(QQuickWindow window)''' 522 return QSGTexture() 523 524 525class QQuickImageProvider(QQmlImageProviderBase): 526 """""" 527 def __init__(self, type, flags = 0): 528 '''void QQuickImageProvider.__init__(QQmlImageProviderBase.ImageType type, QQmlImageProviderBase.Flags flags = 0)''' 529 def __init__(self): 530 '''QQuickImageProvider QQuickImageProvider.__init__()''' 531 return QQuickImageProvider() 532 def requestTexture(self, id, size, requestedSize): 533 '''QQuickTextureFactory QQuickImageProvider.requestTexture(str id, QSize size, QSize requestedSize)''' 534 return QQuickTextureFactory() 535 def requestPixmap(self, id, size, requestedSize): 536 '''QPixmap QQuickImageProvider.requestPixmap(str id, QSize size, QSize requestedSize)''' 537 return QPixmap() 538 def requestImage(self, id, size, requestedSize): 539 '''QImage QQuickImageProvider.requestImage(str id, QSize size, QSize requestedSize)''' 540 return QImage() 541 def flags(self): 542 '''QQmlImageProviderBase.Flags QQuickImageProvider.flags()''' 543 return QQmlImageProviderBase.Flags() 544 def imageType(self): 545 '''QQmlImageProviderBase.ImageType QQuickImageProvider.imageType()''' 546 return QQmlImageProviderBase.ImageType() 547 548 549class QQuickItemGrabResult(QObject): 550 """""" 551 ready = pyqtSignal() # void ready() - signal 552 def event(self): 553 '''QEvent QQuickItemGrabResult.event()''' 554 return QEvent() 555 def saveToFile(self, fileName): 556 '''bool QQuickItemGrabResult.saveToFile(str fileName)''' 557 return bool() 558 def url(self): 559 '''QUrl QQuickItemGrabResult.url()''' 560 return QUrl() 561 def image(self): 562 '''QImage QQuickItemGrabResult.image()''' 563 return QImage() 564 565 566class QQuickPaintedItem(QQuickItem): 567 """""" 568 # Enum QQuickPaintedItem.PerformanceHint 569 FastFBOResizing = 0 570 571 # Enum QQuickPaintedItem.RenderTarget 572 Image = 0 573 FramebufferObject = 0 574 InvertedYFramebufferObject = 0 575 576 def __init__(self, parent = None): 577 '''void QQuickPaintedItem.__init__(QQuickItem parent = None)''' 578 def releaseResources(self): 579 '''void QQuickPaintedItem.releaseResources()''' 580 def textureProvider(self): 581 '''QSGTextureProvider QQuickPaintedItem.textureProvider()''' 582 return QSGTextureProvider() 583 def isTextureProvider(self): 584 '''bool QQuickPaintedItem.isTextureProvider()''' 585 return bool() 586 def updatePaintNode(self): 587 '''QQuickItem.UpdatePaintNodeData QQuickPaintedItem.updatePaintNode()''' 588 return QQuickItem.UpdatePaintNodeData() 589 renderTargetChanged = pyqtSignal() # void renderTargetChanged() - signal 590 contentsScaleChanged = pyqtSignal() # void contentsScaleChanged() - signal 591 contentsSizeChanged = pyqtSignal() # void contentsSizeChanged() - signal 592 fillColorChanged = pyqtSignal() # void fillColorChanged() - signal 593 def paint(self, painter): 594 '''abstract void QQuickPaintedItem.paint(QPainter painter)''' 595 def setRenderTarget(self, target): 596 '''void QQuickPaintedItem.setRenderTarget(QQuickPaintedItem.RenderTarget target)''' 597 def renderTarget(self): 598 '''QQuickPaintedItem.RenderTarget QQuickPaintedItem.renderTarget()''' 599 return QQuickPaintedItem.RenderTarget() 600 def setFillColor(self): 601 '''QColor QQuickPaintedItem.setFillColor()''' 602 return QColor() 603 def fillColor(self): 604 '''QColor QQuickPaintedItem.fillColor()''' 605 return QColor() 606 def setContentsScale(self): 607 '''float QQuickPaintedItem.setContentsScale()''' 608 return float() 609 def contentsScale(self): 610 '''float QQuickPaintedItem.contentsScale()''' 611 return float() 612 def resetContentsSize(self): 613 '''void QQuickPaintedItem.resetContentsSize()''' 614 def setContentsSize(self): 615 '''QSize QQuickPaintedItem.setContentsSize()''' 616 return QSize() 617 def contentsSize(self): 618 '''QSize QQuickPaintedItem.contentsSize()''' 619 return QSize() 620 def contentsBoundingRect(self): 621 '''QRectF QQuickPaintedItem.contentsBoundingRect()''' 622 return QRectF() 623 def setPerformanceHints(self, hints): 624 '''void QQuickPaintedItem.setPerformanceHints(QQuickPaintedItem.PerformanceHints hints)''' 625 def setPerformanceHint(self, hint, enabled = True): 626 '''void QQuickPaintedItem.setPerformanceHint(QQuickPaintedItem.PerformanceHint hint, bool enabled = True)''' 627 def performanceHints(self): 628 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.performanceHints()''' 629 return QQuickPaintedItem.PerformanceHints() 630 def setMipmap(self, enable): 631 '''void QQuickPaintedItem.setMipmap(bool enable)''' 632 def mipmap(self): 633 '''bool QQuickPaintedItem.mipmap()''' 634 return bool() 635 def setAntialiasing(self, enable): 636 '''void QQuickPaintedItem.setAntialiasing(bool enable)''' 637 def antialiasing(self): 638 '''bool QQuickPaintedItem.antialiasing()''' 639 return bool() 640 def setOpaquePainting(self, opaque): 641 '''void QQuickPaintedItem.setOpaquePainting(bool opaque)''' 642 def opaquePainting(self): 643 '''bool QQuickPaintedItem.opaquePainting()''' 644 return bool() 645 def update(self, rect = QRect()): 646 '''void QQuickPaintedItem.update(QRect rect = QRect())''' 647 class PerformanceHints(): 648 """""" 649 def __init__(self): 650 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__init__()''' 651 return QQuickPaintedItem.PerformanceHints() 652 def __init__(self): 653 '''int QQuickPaintedItem.PerformanceHints.__init__()''' 654 return int() 655 def __init__(self): 656 '''void QQuickPaintedItem.PerformanceHints.__init__()''' 657 def __bool__(self): 658 '''int QQuickPaintedItem.PerformanceHints.__bool__()''' 659 return int() 660 def __ne__(self, f): 661 '''bool QQuickPaintedItem.PerformanceHints.__ne__(QQuickPaintedItem.PerformanceHints f)''' 662 return bool() 663 def __eq__(self, f): 664 '''bool QQuickPaintedItem.PerformanceHints.__eq__(QQuickPaintedItem.PerformanceHints f)''' 665 return bool() 666 def __invert__(self): 667 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__invert__()''' 668 return QQuickPaintedItem.PerformanceHints() 669 def __and__(self, mask): 670 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__and__(int mask)''' 671 return QQuickPaintedItem.PerformanceHints() 672 def __xor__(self, f): 673 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__xor__(QQuickPaintedItem.PerformanceHints f)''' 674 return QQuickPaintedItem.PerformanceHints() 675 def __xor__(self, f): 676 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__xor__(int f)''' 677 return QQuickPaintedItem.PerformanceHints() 678 def __or__(self, f): 679 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__or__(QQuickPaintedItem.PerformanceHints f)''' 680 return QQuickPaintedItem.PerformanceHints() 681 def __or__(self, f): 682 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__or__(int f)''' 683 return QQuickPaintedItem.PerformanceHints() 684 def __int__(self): 685 '''int QQuickPaintedItem.PerformanceHints.__int__()''' 686 return int() 687 def __ixor__(self, f): 688 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__ixor__(QQuickPaintedItem.PerformanceHints f)''' 689 return QQuickPaintedItem.PerformanceHints() 690 def __ior__(self, f): 691 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__ior__(QQuickPaintedItem.PerformanceHints f)''' 692 return QQuickPaintedItem.PerformanceHints() 693 def __iand__(self, mask): 694 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__iand__(int mask)''' 695 return QQuickPaintedItem.PerformanceHints() 696 697 698class QQuickRenderControl(QObject): 699 """""" 700 def __init__(self, parent = None): 701 '''void QQuickRenderControl.__init__(QObject parent = None)''' 702 sceneChanged = pyqtSignal() # void sceneChanged() - signal 703 renderRequested = pyqtSignal() # void renderRequested() - signal 704 def prepareThread(self, targetThread): 705 '''void QQuickRenderControl.prepareThread(QThread targetThread)''' 706 def renderWindow(self, offset): 707 '''QWindow QQuickRenderControl.renderWindow(QPoint offset)''' 708 return QWindow() 709 def renderWindowFor(self, win, offset = None): 710 '''static QWindow QQuickRenderControl.renderWindowFor(QQuickWindow win, QPoint offset = None)''' 711 return QWindow() 712 def grab(self): 713 '''QImage QQuickRenderControl.grab()''' 714 return QImage() 715 def sync(self): 716 '''bool QQuickRenderControl.sync()''' 717 return bool() 718 def render(self): 719 '''void QQuickRenderControl.render()''' 720 def polishItems(self): 721 '''void QQuickRenderControl.polishItems()''' 722 def invalidate(self): 723 '''void QQuickRenderControl.invalidate()''' 724 def initialize(self, gl): 725 '''void QQuickRenderControl.initialize(QOpenGLContext gl)''' 726 727 728class QQuickTextDocument(QObject): 729 """""" 730 def __init__(self, parent): 731 '''void QQuickTextDocument.__init__(QQuickItem parent)''' 732 def textDocument(self): 733 '''QTextDocument QQuickTextDocument.textDocument()''' 734 return QTextDocument() 735 736 737class QQuickWindow(QWindow): 738 """""" 739 # Enum QQuickWindow.RenderStage 740 BeforeSynchronizingStage = 0 741 AfterSynchronizingStage = 0 742 BeforeRenderingStage = 0 743 AfterRenderingStage = 0 744 AfterSwapStage = 0 745 746 # Enum QQuickWindow.SceneGraphError 747 ContextNotAvailable = 0 748 749 # Enum QQuickWindow.CreateTextureOption 750 TextureHasAlphaChannel = 0 751 TextureHasMipmaps = 0 752 TextureOwnsGLTexture = 0 753 TextureCanUseAtlas = 0 754 755 def __init__(self, parent = None): 756 '''void QQuickWindow.__init__(QWindow parent = None)''' 757 def isSceneGraphInitialized(self): 758 '''bool QQuickWindow.isSceneGraphInitialized()''' 759 return bool() 760 def effectiveDevicePixelRatio(self): 761 '''float QQuickWindow.effectiveDevicePixelRatio()''' 762 return float() 763 def scheduleRenderJob(self, job, schedule): 764 '''void QQuickWindow.scheduleRenderJob(QRunnable job, QQuickWindow.RenderStage schedule)''' 765 sceneGraphError = pyqtSignal() # void sceneGraphError(QQuickWindow::SceneGraphError,const QStringamp;) - signal 766 sceneGraphAboutToStop = pyqtSignal() # void sceneGraphAboutToStop() - signal 767 afterAnimating = pyqtSignal() # void afterAnimating() - signal 768 afterSynchronizing = pyqtSignal() # void afterSynchronizing() - signal 769 openglContextCreated = pyqtSignal() # void openglContextCreated(QOpenGLContext*) - signal 770 def resetOpenGLState(self): 771 '''void QQuickWindow.resetOpenGLState()''' 772 activeFocusItemChanged = pyqtSignal() # void activeFocusItemChanged() - signal 773 def setDefaultAlphaBuffer(self, useAlpha): 774 '''static void QQuickWindow.setDefaultAlphaBuffer(bool useAlpha)''' 775 def hasDefaultAlphaBuffer(self): 776 '''static bool QQuickWindow.hasDefaultAlphaBuffer()''' 777 return bool() 778 def wheelEvent(self): 779 '''QWheelEvent QQuickWindow.wheelEvent()''' 780 return QWheelEvent() 781 def mouseMoveEvent(self): 782 '''QMouseEvent QQuickWindow.mouseMoveEvent()''' 783 return QMouseEvent() 784 def mouseDoubleClickEvent(self): 785 '''QMouseEvent QQuickWindow.mouseDoubleClickEvent()''' 786 return QMouseEvent() 787 def mouseReleaseEvent(self): 788 '''QMouseEvent QQuickWindow.mouseReleaseEvent()''' 789 return QMouseEvent() 790 def mousePressEvent(self): 791 '''QMouseEvent QQuickWindow.mousePressEvent()''' 792 return QMouseEvent() 793 def keyReleaseEvent(self): 794 '''QKeyEvent QQuickWindow.keyReleaseEvent()''' 795 return QKeyEvent() 796 def keyPressEvent(self): 797 '''QKeyEvent QQuickWindow.keyPressEvent()''' 798 return QKeyEvent() 799 def event(self): 800 '''QEvent QQuickWindow.event()''' 801 return QEvent() 802 def focusOutEvent(self): 803 '''QFocusEvent QQuickWindow.focusOutEvent()''' 804 return QFocusEvent() 805 def focusInEvent(self): 806 '''QFocusEvent QQuickWindow.focusInEvent()''' 807 return QFocusEvent() 808 def hideEvent(self): 809 '''QHideEvent QQuickWindow.hideEvent()''' 810 return QHideEvent() 811 def showEvent(self): 812 '''QShowEvent QQuickWindow.showEvent()''' 813 return QShowEvent() 814 def resizeEvent(self): 815 '''QResizeEvent QQuickWindow.resizeEvent()''' 816 return QResizeEvent() 817 def exposeEvent(self): 818 '''QExposeEvent QQuickWindow.exposeEvent()''' 819 return QExposeEvent() 820 def releaseResources(self): 821 '''void QQuickWindow.releaseResources()''' 822 def update(self): 823 '''void QQuickWindow.update()''' 824 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 825 afterRendering = pyqtSignal() # void afterRendering() - signal 826 beforeRendering = pyqtSignal() # void beforeRendering() - signal 827 beforeSynchronizing = pyqtSignal() # void beforeSynchronizing() - signal 828 sceneGraphInvalidated = pyqtSignal() # void sceneGraphInvalidated() - signal 829 sceneGraphInitialized = pyqtSignal() # void sceneGraphInitialized() - signal 830 frameSwapped = pyqtSignal() # void frameSwapped() - signal 831 def openglContext(self): 832 '''QOpenGLContext QQuickWindow.openglContext()''' 833 return QOpenGLContext() 834 def isPersistentSceneGraph(self): 835 '''bool QQuickWindow.isPersistentSceneGraph()''' 836 return bool() 837 def setPersistentSceneGraph(self, persistent): 838 '''void QQuickWindow.setPersistentSceneGraph(bool persistent)''' 839 def isPersistentOpenGLContext(self): 840 '''bool QQuickWindow.isPersistentOpenGLContext()''' 841 return bool() 842 def setPersistentOpenGLContext(self, persistent): 843 '''void QQuickWindow.setPersistentOpenGLContext(bool persistent)''' 844 def color(self): 845 '''QColor QQuickWindow.color()''' 846 return QColor() 847 def setColor(self, color): 848 '''void QQuickWindow.setColor(QColor color)''' 849 def clearBeforeRendering(self): 850 '''bool QQuickWindow.clearBeforeRendering()''' 851 return bool() 852 def setClearBeforeRendering(self, enabled): 853 '''void QQuickWindow.setClearBeforeRendering(bool enabled)''' 854 def createTextureFromId(self, id, size, options = None): 855 '''QSGTexture QQuickWindow.createTextureFromId(int id, QSize size, QQuickWindow.CreateTextureOptions options = (QQuickWindow::CreateTextureOption)0)''' 856 return QSGTexture() 857 def createTextureFromImage(self, image): 858 '''QSGTexture QQuickWindow.createTextureFromImage(QImage image)''' 859 return QSGTexture() 860 def createTextureFromImage(self, image, options): 861 '''QSGTexture QQuickWindow.createTextureFromImage(QImage image, QQuickWindow.CreateTextureOptions options)''' 862 return QSGTexture() 863 def incubationController(self): 864 '''QQmlIncubationController QQuickWindow.incubationController()''' 865 return QQmlIncubationController() 866 def renderTargetSize(self): 867 '''QSize QQuickWindow.renderTargetSize()''' 868 return QSize() 869 def renderTargetId(self): 870 '''int QQuickWindow.renderTargetId()''' 871 return int() 872 def renderTarget(self): 873 '''QOpenGLFramebufferObject QQuickWindow.renderTarget()''' 874 return QOpenGLFramebufferObject() 875 def setRenderTarget(self, fbo): 876 '''void QQuickWindow.setRenderTarget(QOpenGLFramebufferObject fbo)''' 877 def setRenderTarget(self, fboId, size): 878 '''void QQuickWindow.setRenderTarget(int fboId, QSize size)''' 879 def grabWindow(self): 880 '''QImage QQuickWindow.grabWindow()''' 881 return QImage() 882 def sendEvent(self): 883 '''QEvent QQuickWindow.sendEvent()''' 884 return QEvent() 885 def mouseGrabberItem(self): 886 '''QQuickItem QQuickWindow.mouseGrabberItem()''' 887 return QQuickItem() 888 def focusObject(self): 889 '''QObject QQuickWindow.focusObject()''' 890 return QObject() 891 def activeFocusItem(self): 892 '''QQuickItem QQuickWindow.activeFocusItem()''' 893 return QQuickItem() 894 def contentItem(self): 895 '''QQuickItem QQuickWindow.contentItem()''' 896 return QQuickItem() 897 class CreateTextureOptions(): 898 """""" 899 def __init__(self): 900 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__init__()''' 901 return QQuickWindow.CreateTextureOptions() 902 def __init__(self): 903 '''int QQuickWindow.CreateTextureOptions.__init__()''' 904 return int() 905 def __init__(self): 906 '''void QQuickWindow.CreateTextureOptions.__init__()''' 907 def __bool__(self): 908 '''int QQuickWindow.CreateTextureOptions.__bool__()''' 909 return int() 910 def __ne__(self, f): 911 '''bool QQuickWindow.CreateTextureOptions.__ne__(QQuickWindow.CreateTextureOptions f)''' 912 return bool() 913 def __eq__(self, f): 914 '''bool QQuickWindow.CreateTextureOptions.__eq__(QQuickWindow.CreateTextureOptions f)''' 915 return bool() 916 def __invert__(self): 917 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__invert__()''' 918 return QQuickWindow.CreateTextureOptions() 919 def __and__(self, mask): 920 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__and__(int mask)''' 921 return QQuickWindow.CreateTextureOptions() 922 def __xor__(self, f): 923 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__xor__(QQuickWindow.CreateTextureOptions f)''' 924 return QQuickWindow.CreateTextureOptions() 925 def __xor__(self, f): 926 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__xor__(int f)''' 927 return QQuickWindow.CreateTextureOptions() 928 def __or__(self, f): 929 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__or__(QQuickWindow.CreateTextureOptions f)''' 930 return QQuickWindow.CreateTextureOptions() 931 def __or__(self, f): 932 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__or__(int f)''' 933 return QQuickWindow.CreateTextureOptions() 934 def __int__(self): 935 '''int QQuickWindow.CreateTextureOptions.__int__()''' 936 return int() 937 def __ixor__(self, f): 938 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__ixor__(QQuickWindow.CreateTextureOptions f)''' 939 return QQuickWindow.CreateTextureOptions() 940 def __ior__(self, f): 941 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__ior__(QQuickWindow.CreateTextureOptions f)''' 942 return QQuickWindow.CreateTextureOptions() 943 def __iand__(self, mask): 944 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__iand__(int mask)''' 945 return QQuickWindow.CreateTextureOptions() 946 947 948class QQuickView(QQuickWindow): 949 """""" 950 # Enum QQuickView.Status 951 Null = 0 952 Ready = 0 953 Loading = 0 954 Error = 0 955 956 # Enum QQuickView.ResizeMode 957 SizeViewToRootObject = 0 958 SizeRootObjectToView = 0 959 960 def __init__(self, parent = None): 961 '''void QQuickView.__init__(QWindow parent = None)''' 962 def __init__(self, engine, parent): 963 '''void QQuickView.__init__(QQmlEngine engine, QWindow parent)''' 964 def __init__(self, source, parent = None): 965 '''void QQuickView.__init__(QUrl source, QWindow parent = None)''' 966 def mouseMoveEvent(self): 967 '''QMouseEvent QQuickView.mouseMoveEvent()''' 968 return QMouseEvent() 969 def mouseReleaseEvent(self): 970 '''QMouseEvent QQuickView.mouseReleaseEvent()''' 971 return QMouseEvent() 972 def mousePressEvent(self): 973 '''QMouseEvent QQuickView.mousePressEvent()''' 974 return QMouseEvent() 975 def keyReleaseEvent(self): 976 '''QKeyEvent QQuickView.keyReleaseEvent()''' 977 return QKeyEvent() 978 def keyPressEvent(self): 979 '''QKeyEvent QQuickView.keyPressEvent()''' 980 return QKeyEvent() 981 def timerEvent(self): 982 '''QTimerEvent QQuickView.timerEvent()''' 983 return QTimerEvent() 984 def resizeEvent(self): 985 '''QResizeEvent QQuickView.resizeEvent()''' 986 return QResizeEvent() 987 statusChanged = pyqtSignal() # void statusChanged(QQuickView::Status) - signal 988 def setSource(self): 989 '''QUrl QQuickView.setSource()''' 990 return QUrl() 991 def initialSize(self): 992 '''QSize QQuickView.initialSize()''' 993 return QSize() 994 def errors(self): 995 '''list-of-QQmlError QQuickView.errors()''' 996 return [QQmlError()] 997 def status(self): 998 '''QQuickView.Status QQuickView.status()''' 999 return QQuickView.Status() 1000 def setResizeMode(self): 1001 '''QQuickView.ResizeMode QQuickView.setResizeMode()''' 1002 return QQuickView.ResizeMode() 1003 def resizeMode(self): 1004 '''QQuickView.ResizeMode QQuickView.resizeMode()''' 1005 return QQuickView.ResizeMode() 1006 def rootObject(self): 1007 '''QQuickItem QQuickView.rootObject()''' 1008 return QQuickItem() 1009 def rootContext(self): 1010 '''QQmlContext QQuickView.rootContext()''' 1011 return QQmlContext() 1012 def engine(self): 1013 '''QQmlEngine QQuickView.engine()''' 1014 return QQmlEngine() 1015 def source(self): 1016 '''QUrl QQuickView.source()''' 1017 return QUrl() 1018 1019 1020class QSGAbstractRenderer(QObject): 1021 """""" 1022 # Enum QSGAbstractRenderer.ClearModeBit 1023 ClearColorBuffer = 0 1024 ClearDepthBuffer = 0 1025 ClearStencilBuffer = 0 1026 1027 sceneGraphChanged = pyqtSignal() # void sceneGraphChanged() - signal 1028 def renderScene(self, fboId = 0): 1029 '''abstract void QSGAbstractRenderer.renderScene(int fboId = 0)''' 1030 def clearMode(self): 1031 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.clearMode()''' 1032 return QSGAbstractRenderer.ClearMode() 1033 def setClearMode(self, mode): 1034 '''void QSGAbstractRenderer.setClearMode(QSGAbstractRenderer.ClearMode mode)''' 1035 def clearColor(self): 1036 '''QColor QSGAbstractRenderer.clearColor()''' 1037 return QColor() 1038 def setClearColor(self, color): 1039 '''void QSGAbstractRenderer.setClearColor(QColor color)''' 1040 def projectionMatrix(self): 1041 '''QMatrix4x4 QSGAbstractRenderer.projectionMatrix()''' 1042 return QMatrix4x4() 1043 def setProjectionMatrix(self, matrix): 1044 '''void QSGAbstractRenderer.setProjectionMatrix(QMatrix4x4 matrix)''' 1045 def setProjectionMatrixToRect(self, rect): 1046 '''void QSGAbstractRenderer.setProjectionMatrixToRect(QRectF rect)''' 1047 def viewportRect(self): 1048 '''QRect QSGAbstractRenderer.viewportRect()''' 1049 return QRect() 1050 def setViewportRect(self, rect): 1051 '''void QSGAbstractRenderer.setViewportRect(QRect rect)''' 1052 def setViewportRect(self, size): 1053 '''void QSGAbstractRenderer.setViewportRect(QSize size)''' 1054 def deviceRect(self): 1055 '''QRect QSGAbstractRenderer.deviceRect()''' 1056 return QRect() 1057 def setDeviceRect(self, rect): 1058 '''void QSGAbstractRenderer.setDeviceRect(QRect rect)''' 1059 def setDeviceRect(self, size): 1060 '''void QSGAbstractRenderer.setDeviceRect(QSize size)''' 1061 class ClearMode(): 1062 """""" 1063 def __init__(self): 1064 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__init__()''' 1065 return QSGAbstractRenderer.ClearMode() 1066 def __init__(self): 1067 '''int QSGAbstractRenderer.ClearMode.__init__()''' 1068 return int() 1069 def __init__(self): 1070 '''void QSGAbstractRenderer.ClearMode.__init__()''' 1071 def __bool__(self): 1072 '''int QSGAbstractRenderer.ClearMode.__bool__()''' 1073 return int() 1074 def __ne__(self, f): 1075 '''bool QSGAbstractRenderer.ClearMode.__ne__(QSGAbstractRenderer.ClearMode f)''' 1076 return bool() 1077 def __eq__(self, f): 1078 '''bool QSGAbstractRenderer.ClearMode.__eq__(QSGAbstractRenderer.ClearMode f)''' 1079 return bool() 1080 def __invert__(self): 1081 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__invert__()''' 1082 return QSGAbstractRenderer.ClearMode() 1083 def __and__(self, mask): 1084 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__and__(int mask)''' 1085 return QSGAbstractRenderer.ClearMode() 1086 def __xor__(self, f): 1087 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__xor__(QSGAbstractRenderer.ClearMode f)''' 1088 return QSGAbstractRenderer.ClearMode() 1089 def __xor__(self, f): 1090 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__xor__(int f)''' 1091 return QSGAbstractRenderer.ClearMode() 1092 def __or__(self, f): 1093 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__or__(QSGAbstractRenderer.ClearMode f)''' 1094 return QSGAbstractRenderer.ClearMode() 1095 def __or__(self, f): 1096 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__or__(int f)''' 1097 return QSGAbstractRenderer.ClearMode() 1098 def __int__(self): 1099 '''int QSGAbstractRenderer.ClearMode.__int__()''' 1100 return int() 1101 def __ixor__(self, f): 1102 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__ixor__(QSGAbstractRenderer.ClearMode f)''' 1103 return QSGAbstractRenderer.ClearMode() 1104 def __ior__(self, f): 1105 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__ior__(QSGAbstractRenderer.ClearMode f)''' 1106 return QSGAbstractRenderer.ClearMode() 1107 def __iand__(self, mask): 1108 '''QSGAbstractRenderer.ClearMode QSGAbstractRenderer.ClearMode.__iand__(int mask)''' 1109 return QSGAbstractRenderer.ClearMode() 1110 1111 1112class QSGEngine(QObject): 1113 """""" 1114 # Enum QSGEngine.CreateTextureOption 1115 TextureHasAlphaChannel = 0 1116 TextureOwnsGLTexture = 0 1117 TextureCanUseAtlas = 0 1118 1119 def __init__(self, parent = None): 1120 '''void QSGEngine.__init__(QObject parent = None)''' 1121 def createTextureFromId(self, id, size, options = None): 1122 '''QSGTexture QSGEngine.createTextureFromId(int id, QSize size, QSGEngine.CreateTextureOptions options = (QSGEngine::CreateTextureOption)0)''' 1123 return QSGTexture() 1124 def createTextureFromImage(self, image, options = None): 1125 '''QSGTexture QSGEngine.createTextureFromImage(QImage image, QSGEngine.CreateTextureOptions options = (QSGEngine::CreateTextureOption)0)''' 1126 return QSGTexture() 1127 def createRenderer(self): 1128 '''QSGAbstractRenderer QSGEngine.createRenderer()''' 1129 return QSGAbstractRenderer() 1130 def invalidate(self): 1131 '''void QSGEngine.invalidate()''' 1132 def initialize(self, context): 1133 '''void QSGEngine.initialize(QOpenGLContext context)''' 1134 class CreateTextureOptions(): 1135 """""" 1136 def __init__(self): 1137 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__init__()''' 1138 return QSGEngine.CreateTextureOptions() 1139 def __init__(self): 1140 '''int QSGEngine.CreateTextureOptions.__init__()''' 1141 return int() 1142 def __init__(self): 1143 '''void QSGEngine.CreateTextureOptions.__init__()''' 1144 def __bool__(self): 1145 '''int QSGEngine.CreateTextureOptions.__bool__()''' 1146 return int() 1147 def __ne__(self, f): 1148 '''bool QSGEngine.CreateTextureOptions.__ne__(QSGEngine.CreateTextureOptions f)''' 1149 return bool() 1150 def __eq__(self, f): 1151 '''bool QSGEngine.CreateTextureOptions.__eq__(QSGEngine.CreateTextureOptions f)''' 1152 return bool() 1153 def __invert__(self): 1154 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__invert__()''' 1155 return QSGEngine.CreateTextureOptions() 1156 def __and__(self, mask): 1157 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__and__(int mask)''' 1158 return QSGEngine.CreateTextureOptions() 1159 def __xor__(self, f): 1160 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__xor__(QSGEngine.CreateTextureOptions f)''' 1161 return QSGEngine.CreateTextureOptions() 1162 def __xor__(self, f): 1163 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__xor__(int f)''' 1164 return QSGEngine.CreateTextureOptions() 1165 def __or__(self, f): 1166 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__or__(QSGEngine.CreateTextureOptions f)''' 1167 return QSGEngine.CreateTextureOptions() 1168 def __or__(self, f): 1169 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__or__(int f)''' 1170 return QSGEngine.CreateTextureOptions() 1171 def __int__(self): 1172 '''int QSGEngine.CreateTextureOptions.__int__()''' 1173 return int() 1174 def __ixor__(self, f): 1175 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__ixor__(QSGEngine.CreateTextureOptions f)''' 1176 return QSGEngine.CreateTextureOptions() 1177 def __ior__(self, f): 1178 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__ior__(QSGEngine.CreateTextureOptions f)''' 1179 return QSGEngine.CreateTextureOptions() 1180 def __iand__(self, mask): 1181 '''QSGEngine.CreateTextureOptions QSGEngine.CreateTextureOptions.__iand__(int mask)''' 1182 return QSGEngine.CreateTextureOptions() 1183 1184 1185class QSGMaterial(): 1186 """""" 1187 # Enum QSGMaterial.Flag 1188 Blending = 0 1189 RequiresDeterminant = 0 1190 RequiresFullMatrixExceptTranslate = 0 1191 RequiresFullMatrix = 0 1192 CustomCompileStep = 0 1193 1194 def __init__(self): 1195 '''void QSGMaterial.__init__()''' 1196 def setFlag(self, flags, enabled = True): 1197 '''void QSGMaterial.setFlag(QSGMaterial.Flags flags, bool enabled = True)''' 1198 def flags(self): 1199 '''QSGMaterial.Flags QSGMaterial.flags()''' 1200 return QSGMaterial.Flags() 1201 def compare(self, other): 1202 '''int QSGMaterial.compare(QSGMaterial other)''' 1203 return int() 1204 def createShader(self): 1205 '''abstract QSGMaterialShader QSGMaterial.createShader()''' 1206 return QSGMaterialShader() 1207 def type(self): 1208 '''abstract QSGMaterialType QSGMaterial.type()''' 1209 return QSGMaterialType() 1210 class Flags(): 1211 """""" 1212 def __init__(self): 1213 '''QSGMaterial.Flags QSGMaterial.Flags.__init__()''' 1214 return QSGMaterial.Flags() 1215 def __init__(self): 1216 '''int QSGMaterial.Flags.__init__()''' 1217 return int() 1218 def __init__(self): 1219 '''void QSGMaterial.Flags.__init__()''' 1220 def __bool__(self): 1221 '''int QSGMaterial.Flags.__bool__()''' 1222 return int() 1223 def __ne__(self, f): 1224 '''bool QSGMaterial.Flags.__ne__(QSGMaterial.Flags f)''' 1225 return bool() 1226 def __eq__(self, f): 1227 '''bool QSGMaterial.Flags.__eq__(QSGMaterial.Flags f)''' 1228 return bool() 1229 def __invert__(self): 1230 '''QSGMaterial.Flags QSGMaterial.Flags.__invert__()''' 1231 return QSGMaterial.Flags() 1232 def __and__(self, mask): 1233 '''QSGMaterial.Flags QSGMaterial.Flags.__and__(int mask)''' 1234 return QSGMaterial.Flags() 1235 def __xor__(self, f): 1236 '''QSGMaterial.Flags QSGMaterial.Flags.__xor__(QSGMaterial.Flags f)''' 1237 return QSGMaterial.Flags() 1238 def __xor__(self, f): 1239 '''QSGMaterial.Flags QSGMaterial.Flags.__xor__(int f)''' 1240 return QSGMaterial.Flags() 1241 def __or__(self, f): 1242 '''QSGMaterial.Flags QSGMaterial.Flags.__or__(QSGMaterial.Flags f)''' 1243 return QSGMaterial.Flags() 1244 def __or__(self, f): 1245 '''QSGMaterial.Flags QSGMaterial.Flags.__or__(int f)''' 1246 return QSGMaterial.Flags() 1247 def __int__(self): 1248 '''int QSGMaterial.Flags.__int__()''' 1249 return int() 1250 def __ixor__(self, f): 1251 '''QSGMaterial.Flags QSGMaterial.Flags.__ixor__(QSGMaterial.Flags f)''' 1252 return QSGMaterial.Flags() 1253 def __ior__(self, f): 1254 '''QSGMaterial.Flags QSGMaterial.Flags.__ior__(QSGMaterial.Flags f)''' 1255 return QSGMaterial.Flags() 1256 def __iand__(self, mask): 1257 '''QSGMaterial.Flags QSGMaterial.Flags.__iand__(int mask)''' 1258 return QSGMaterial.Flags() 1259 1260 1261class QSGFlatColorMaterial(QSGMaterial): 1262 """""" 1263 def __init__(self): 1264 '''void QSGFlatColorMaterial.__init__()''' 1265 def compare(self, other): 1266 '''int QSGFlatColorMaterial.compare(QSGMaterial other)''' 1267 return int() 1268 def color(self): 1269 '''QColor QSGFlatColorMaterial.color()''' 1270 return QColor() 1271 def setColor(self, color): 1272 '''void QSGFlatColorMaterial.setColor(QColor color)''' 1273 def createShader(self): 1274 '''QSGMaterialShader QSGFlatColorMaterial.createShader()''' 1275 return QSGMaterialShader() 1276 def type(self): 1277 '''QSGMaterialType QSGFlatColorMaterial.type()''' 1278 return QSGMaterialType() 1279 1280 1281class QSGGeometry(): 1282 """""" 1283 # Enum QSGGeometry.DataPattern 1284 AlwaysUploadPattern = 0 1285 StreamPattern = 0 1286 DynamicPattern = 0 1287 StaticPattern = 0 1288 1289 GL_POINTS = None # int - member 1290 GL_LINES = None # int - member 1291 GL_LINE_LOOP = None # int - member 1292 GL_LINE_STRIP = None # int - member 1293 GL_TRIANGLES = None # int - member 1294 GL_TRIANGLE_STRIP = None # int - member 1295 GL_TRIANGLE_FAN = None # int - member 1296 GL_BYTE = None # int - member 1297 GL_DOUBLE = None # int - member 1298 GL_FLOAT = None # int - member 1299 GL_INT = None # int - member 1300 def __init__(self, attribs, vertexCount, indexCount = 0, indexType = None): 1301 '''void QSGGeometry.__init__(QSGGeometry.AttributeSet attribs, int vertexCount, int indexCount = 0, int indexType = GL_UNSIGNED_SHORT)''' 1302 def __init__(self): 1303 '''QSGGeometry QSGGeometry.__init__()''' 1304 return QSGGeometry() 1305 def sizeOfIndex(self): 1306 '''int QSGGeometry.sizeOfIndex()''' 1307 return int() 1308 def vertexDataAsColoredPoint2D(self): 1309 '''array-of-QSGGeometry.ColoredPoint2D QSGGeometry.vertexDataAsColoredPoint2D()''' 1310 return array-of-QSGGeometry.ColoredPoint2D() 1311 def vertexDataAsTexturedPoint2D(self): 1312 '''array-of-QSGGeometry.TexturedPoint2D QSGGeometry.vertexDataAsTexturedPoint2D()''' 1313 return array-of-QSGGeometry.TexturedPoint2D() 1314 def vertexDataAsPoint2D(self): 1315 '''array-of-QSGGeometry.Point2D QSGGeometry.vertexDataAsPoint2D()''' 1316 return array-of-QSGGeometry.Point2D() 1317 def indexDataAsUShort(self): 1318 '''array-of-unsigned-short QSGGeometry.indexDataAsUShort()''' 1319 return array-of-unsigned-short() 1320 def indexDataAsUInt(self): 1321 '''array-of-unsigned-int QSGGeometry.indexDataAsUInt()''' 1322 return array-of-unsigned-int() 1323 def setLineWidth(self, w): 1324 '''void QSGGeometry.setLineWidth(float w)''' 1325 def lineWidth(self): 1326 '''float QSGGeometry.lineWidth()''' 1327 return float() 1328 def markVertexDataDirty(self): 1329 '''void QSGGeometry.markVertexDataDirty()''' 1330 def markIndexDataDirty(self): 1331 '''void QSGGeometry.markIndexDataDirty()''' 1332 def vertexDataPattern(self): 1333 '''QSGGeometry.DataPattern QSGGeometry.vertexDataPattern()''' 1334 return QSGGeometry.DataPattern() 1335 def setVertexDataPattern(self, p): 1336 '''void QSGGeometry.setVertexDataPattern(QSGGeometry.DataPattern p)''' 1337 def indexDataPattern(self): 1338 '''QSGGeometry.DataPattern QSGGeometry.indexDataPattern()''' 1339 return QSGGeometry.DataPattern() 1340 def setIndexDataPattern(self, p): 1341 '''void QSGGeometry.setIndexDataPattern(QSGGeometry.DataPattern p)''' 1342 def updateTexturedRectGeometry(self, g, rect, sourceRect): 1343 '''static void QSGGeometry.updateTexturedRectGeometry(QSGGeometry g, QRectF rect, QRectF sourceRect)''' 1344 def updateRectGeometry(self, g, rect): 1345 '''static void QSGGeometry.updateRectGeometry(QSGGeometry g, QRectF rect)''' 1346 def sizeOfVertex(self): 1347 '''int QSGGeometry.sizeOfVertex()''' 1348 return int() 1349 def attributes(self): 1350 '''read-only-array-of-QSGGeometry.Attribute QSGGeometry.attributes()''' 1351 return read-only-array-of-QSGGeometry.Attribute() 1352 def attributeCount(self): 1353 '''int QSGGeometry.attributeCount()''' 1354 return int() 1355 def indexData(self): 1356 '''sip.voidptr QSGGeometry.indexData()''' 1357 return sip.voidptr() 1358 def indexCount(self): 1359 '''int QSGGeometry.indexCount()''' 1360 return int() 1361 def indexType(self): 1362 '''int QSGGeometry.indexType()''' 1363 return int() 1364 def vertexData(self): 1365 '''sip.voidptr QSGGeometry.vertexData()''' 1366 return sip.voidptr() 1367 def vertexCount(self): 1368 '''int QSGGeometry.vertexCount()''' 1369 return int() 1370 def allocate(self, vertexCount, indexCount = 0): 1371 '''void QSGGeometry.allocate(int vertexCount, int indexCount = 0)''' 1372 def drawingMode(self): 1373 '''int QSGGeometry.drawingMode()''' 1374 return int() 1375 def setDrawingMode(self, mode): 1376 '''void QSGGeometry.setDrawingMode(int mode)''' 1377 def defaultAttributes_ColoredPoint2D(self): 1378 '''static QSGGeometry.AttributeSet QSGGeometry.defaultAttributes_ColoredPoint2D()''' 1379 return QSGGeometry.AttributeSet() 1380 def defaultAttributes_TexturedPoint2D(self): 1381 '''static QSGGeometry.AttributeSet QSGGeometry.defaultAttributes_TexturedPoint2D()''' 1382 return QSGGeometry.AttributeSet() 1383 def defaultAttributes_Point2D(self): 1384 '''static QSGGeometry.AttributeSet QSGGeometry.defaultAttributes_Point2D()''' 1385 return QSGGeometry.AttributeSet() 1386 class Point2D(): 1387 """""" 1388 x = None # float - member 1389 y = None # float - member 1390 def __init__(self): 1391 '''void QSGGeometry.Point2D.__init__()''' 1392 def __init__(self): 1393 '''QSGGeometry.Point2D QSGGeometry.Point2D.__init__()''' 1394 return QSGGeometry.Point2D() 1395 def set(self, nx, ny): 1396 '''void QSGGeometry.Point2D.set(float nx, float ny)''' 1397 class TexturedPoint2D(): 1398 """""" 1399 tx = None # float - member 1400 ty = None # float - member 1401 x = None # float - member 1402 y = None # float - member 1403 def __init__(self): 1404 '''void QSGGeometry.TexturedPoint2D.__init__()''' 1405 def __init__(self): 1406 '''QSGGeometry.TexturedPoint2D QSGGeometry.TexturedPoint2D.__init__()''' 1407 return QSGGeometry.TexturedPoint2D() 1408 def set(self, nx, ny, ntx, nty): 1409 '''void QSGGeometry.TexturedPoint2D.set(float nx, float ny, float ntx, float nty)''' 1410 class Attribute(): 1411 """""" 1412 isVertexCoordinate = None # int - member 1413 position = None # int - member 1414 tupleSize = None # int - member 1415 type = None # int - member 1416 def __init__(self): 1417 '''void QSGGeometry.Attribute.__init__()''' 1418 def __init__(self): 1419 '''QSGGeometry.Attribute QSGGeometry.Attribute.__init__()''' 1420 return QSGGeometry.Attribute() 1421 def create(self, pos, tupleSize, primitiveType, isPosition = False): 1422 '''static QSGGeometry.Attribute QSGGeometry.Attribute.create(int pos, int tupleSize, int primitiveType, bool isPosition = False)''' 1423 return QSGGeometry.Attribute() 1424 class ColoredPoint2D(): 1425 """""" 1426 a = None # int - member 1427 b = None # int - member 1428 g = None # int - member 1429 r = None # int - member 1430 x = None # float - member 1431 y = None # float - member 1432 def __init__(self): 1433 '''void QSGGeometry.ColoredPoint2D.__init__()''' 1434 def __init__(self): 1435 '''QSGGeometry.ColoredPoint2D QSGGeometry.ColoredPoint2D.__init__()''' 1436 return QSGGeometry.ColoredPoint2D() 1437 def set(self, nx, ny, nr, ng, nb, na): 1438 '''void QSGGeometry.ColoredPoint2D.set(float nx, float ny, int nr, int ng, int nb, int na)''' 1439 class AttributeSet(): 1440 """""" 1441 attributes = None # read-only-array-of-QSGGeometry.Attribute - member 1442 count = None # int - member 1443 stride = None # int - member 1444 def __init__(self, attributes, stride = 0): 1445 '''void QSGGeometry.AttributeSet.__init__(sequence-of-QSGGeometry.Attribute attributes, int stride = 0)''' 1446 1447 1448class QSGMaterialShader(): 1449 """""" 1450 def __init__(self): 1451 '''void QSGMaterialShader.__init__()''' 1452 def setShaderSourceFiles(self, type, sourceFiles): 1453 '''void QSGMaterialShader.setShaderSourceFiles(QOpenGLShader.ShaderType type, list-of-str sourceFiles)''' 1454 def setShaderSourceFile(self, type, sourceFile): 1455 '''void QSGMaterialShader.setShaderSourceFile(QOpenGLShader.ShaderType type, str sourceFile)''' 1456 def fragmentShader(self): 1457 '''str QSGMaterialShader.fragmentShader()''' 1458 return str() 1459 def vertexShader(self): 1460 '''str QSGMaterialShader.vertexShader()''' 1461 return str() 1462 def initialize(self): 1463 '''void QSGMaterialShader.initialize()''' 1464 def compile(self): 1465 '''void QSGMaterialShader.compile()''' 1466 def program(self): 1467 '''QOpenGLShaderProgram QSGMaterialShader.program()''' 1468 return QOpenGLShaderProgram() 1469 def attributeNames(self): 1470 '''abstract list-of-str QSGMaterialShader.attributeNames()''' 1471 return [str()] 1472 def updateState(self, state, newMaterial, oldMaterial): 1473 '''void QSGMaterialShader.updateState(QSGMaterialShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial)''' 1474 def deactivate(self): 1475 '''void QSGMaterialShader.deactivate()''' 1476 def activate(self): 1477 '''void QSGMaterialShader.activate()''' 1478 class RenderState(): 1479 """""" 1480 class DirtyStates(): 1481 """""" 1482 def __init__(self): 1483 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__init__()''' 1484 return QSGMaterialShader.RenderState.DirtyStates() 1485 def __init__(self): 1486 '''int QSGMaterialShader.RenderState.DirtyStates.__init__()''' 1487 return int() 1488 def __init__(self): 1489 '''void QSGMaterialShader.RenderState.DirtyStates.__init__()''' 1490 def __bool__(self): 1491 '''int QSGMaterialShader.RenderState.DirtyStates.__bool__()''' 1492 return int() 1493 def __ne__(self, f): 1494 '''bool QSGMaterialShader.RenderState.DirtyStates.__ne__(QSGMaterialShader.RenderState.DirtyStates f)''' 1495 return bool() 1496 def __eq__(self, f): 1497 '''bool QSGMaterialShader.RenderState.DirtyStates.__eq__(QSGMaterialShader.RenderState.DirtyStates f)''' 1498 return bool() 1499 def __invert__(self): 1500 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__invert__()''' 1501 return QSGMaterialShader.RenderState.DirtyStates() 1502 def __and__(self, mask): 1503 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__and__(int mask)''' 1504 return QSGMaterialShader.RenderState.DirtyStates() 1505 def __xor__(self, f): 1506 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__xor__(QSGMaterialShader.RenderState.DirtyStates f)''' 1507 return QSGMaterialShader.RenderState.DirtyStates() 1508 def __xor__(self, f): 1509 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__xor__(int f)''' 1510 return QSGMaterialShader.RenderState.DirtyStates() 1511 def __or__(self, f): 1512 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__or__(QSGMaterialShader.RenderState.DirtyStates f)''' 1513 return QSGMaterialShader.RenderState.DirtyStates() 1514 def __or__(self, f): 1515 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__or__(int f)''' 1516 return QSGMaterialShader.RenderState.DirtyStates() 1517 def __int__(self): 1518 '''int QSGMaterialShader.RenderState.DirtyStates.__int__()''' 1519 return int() 1520 def __ixor__(self, f): 1521 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__ixor__(QSGMaterialShader.RenderState.DirtyStates f)''' 1522 return QSGMaterialShader.RenderState.DirtyStates() 1523 def __ior__(self, f): 1524 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__ior__(QSGMaterialShader.RenderState.DirtyStates f)''' 1525 return QSGMaterialShader.RenderState.DirtyStates() 1526 def __iand__(self, mask): 1527 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.DirtyStates.__iand__(int mask)''' 1528 return QSGMaterialShader.RenderState.DirtyStates() 1529 class RenderState(): 1530 """""" 1531 # Enum QSGMaterialShader.RenderState.DirtyState 1532 DirtyMatrix = 0 1533 DirtyOpacity = 0 1534 1535 def __init__(self): 1536 '''void QSGMaterialShader.RenderState.__init__()''' 1537 def __init__(self): 1538 '''QSGMaterialShader.RenderState QSGMaterialShader.RenderState.__init__()''' 1539 return QSGMaterialShader.RenderState() 1540 def devicePixelRatio(self): 1541 '''float QSGMaterialShader.RenderState.devicePixelRatio()''' 1542 return float() 1543 def projectionMatrix(self): 1544 '''QMatrix4x4 QSGMaterialShader.RenderState.projectionMatrix()''' 1545 return QMatrix4x4() 1546 def context(self): 1547 '''QOpenGLContext QSGMaterialShader.RenderState.context()''' 1548 return QOpenGLContext() 1549 def determinant(self): 1550 '''float QSGMaterialShader.RenderState.determinant()''' 1551 return float() 1552 def deviceRect(self): 1553 '''QRect QSGMaterialShader.RenderState.deviceRect()''' 1554 return QRect() 1555 def viewportRect(self): 1556 '''QRect QSGMaterialShader.RenderState.viewportRect()''' 1557 return QRect() 1558 def modelViewMatrix(self): 1559 '''QMatrix4x4 QSGMaterialShader.RenderState.modelViewMatrix()''' 1560 return QMatrix4x4() 1561 def combinedMatrix(self): 1562 '''QMatrix4x4 QSGMaterialShader.RenderState.combinedMatrix()''' 1563 return QMatrix4x4() 1564 def opacity(self): 1565 '''float QSGMaterialShader.RenderState.opacity()''' 1566 return float() 1567 def isOpacityDirty(self): 1568 '''bool QSGMaterialShader.RenderState.isOpacityDirty()''' 1569 return bool() 1570 def isMatrixDirty(self): 1571 '''bool QSGMaterialShader.RenderState.isMatrixDirty()''' 1572 return bool() 1573 def dirtyStates(self): 1574 '''QSGMaterialShader.RenderState.DirtyStates QSGMaterialShader.RenderState.dirtyStates()''' 1575 return QSGMaterialShader.RenderState.DirtyStates() 1576 1577 1578class QSGMaterialType(): 1579 """""" 1580 def __init__(self): 1581 '''void QSGMaterialType.__init__()''' 1582 def __init__(self): 1583 '''QSGMaterialType QSGMaterialType.__init__()''' 1584 return QSGMaterialType() 1585 1586 1587class QSGNode(): 1588 """""" 1589 # Enum QSGNode.DirtyStateBit 1590 DirtyMatrix = 0 1591 DirtyNodeAdded = 0 1592 DirtyNodeRemoved = 0 1593 DirtyGeometry = 0 1594 DirtyMaterial = 0 1595 DirtyOpacity = 0 1596 1597 # Enum QSGNode.Flag 1598 OwnedByParent = 0 1599 UsePreprocess = 0 1600 OwnsGeometry = 0 1601 OwnsMaterial = 0 1602 OwnsOpaqueMaterial = 0 1603 1604 # Enum QSGNode.NodeType 1605 BasicNodeType = 0 1606 GeometryNodeType = 0 1607 TransformNodeType = 0 1608 ClipNodeType = 0 1609 OpacityNodeType = 0 1610 1611 def __init__(self): 1612 '''void QSGNode.__init__()''' 1613 def preprocess(self): 1614 '''void QSGNode.preprocess()''' 1615 def setFlags(self, enabled = True): 1616 '''QSGNode.Flags QSGNode.setFlags(bool enabled = True)''' 1617 return QSGNode.Flags() 1618 def setFlag(self, enabled = True): 1619 '''QSGNode.Flag QSGNode.setFlag(bool enabled = True)''' 1620 return QSGNode.Flag() 1621 def flags(self): 1622 '''QSGNode.Flags QSGNode.flags()''' 1623 return QSGNode.Flags() 1624 def isSubtreeBlocked(self): 1625 '''bool QSGNode.isSubtreeBlocked()''' 1626 return bool() 1627 def markDirty(self, bits): 1628 '''void QSGNode.markDirty(QSGNode.DirtyState bits)''' 1629 def type(self): 1630 '''QSGNode.NodeType QSGNode.type()''' 1631 return QSGNode.NodeType() 1632 def previousSibling(self): 1633 '''QSGNode QSGNode.previousSibling()''' 1634 return QSGNode() 1635 def nextSibling(self): 1636 '''QSGNode QSGNode.nextSibling()''' 1637 return QSGNode() 1638 def lastChild(self): 1639 '''QSGNode QSGNode.lastChild()''' 1640 return QSGNode() 1641 def firstChild(self): 1642 '''QSGNode QSGNode.firstChild()''' 1643 return QSGNode() 1644 def childAtIndex(self, i): 1645 '''QSGNode QSGNode.childAtIndex(int i)''' 1646 return QSGNode() 1647 def __len__(self): 1648 ''' QSGNode.__len__()''' 1649 return () 1650 def childCount(self): 1651 '''int QSGNode.childCount()''' 1652 return int() 1653 def insertChildNodeAfter(self, node, after): 1654 '''void QSGNode.insertChildNodeAfter(QSGNode node, QSGNode after)''' 1655 def insertChildNodeBefore(self, node, before): 1656 '''void QSGNode.insertChildNodeBefore(QSGNode node, QSGNode before)''' 1657 def appendChildNode(self, node): 1658 '''void QSGNode.appendChildNode(QSGNode node)''' 1659 def prependChildNode(self, node): 1660 '''void QSGNode.prependChildNode(QSGNode node)''' 1661 def removeAllChildNodes(self): 1662 '''void QSGNode.removeAllChildNodes()''' 1663 def removeChildNode(self, node): 1664 '''void QSGNode.removeChildNode(QSGNode node)''' 1665 def parent(self): 1666 '''QSGNode QSGNode.parent()''' 1667 return QSGNode() 1668 class Flags(): 1669 """""" 1670 def __init__(self): 1671 '''QSGNode.Flags QSGNode.Flags.__init__()''' 1672 return QSGNode.Flags() 1673 def __init__(self): 1674 '''int QSGNode.Flags.__init__()''' 1675 return int() 1676 def __init__(self): 1677 '''void QSGNode.Flags.__init__()''' 1678 def __bool__(self): 1679 '''int QSGNode.Flags.__bool__()''' 1680 return int() 1681 def __ne__(self, f): 1682 '''bool QSGNode.Flags.__ne__(QSGNode.Flags f)''' 1683 return bool() 1684 def __eq__(self, f): 1685 '''bool QSGNode.Flags.__eq__(QSGNode.Flags f)''' 1686 return bool() 1687 def __invert__(self): 1688 '''QSGNode.Flags QSGNode.Flags.__invert__()''' 1689 return QSGNode.Flags() 1690 def __and__(self, mask): 1691 '''QSGNode.Flags QSGNode.Flags.__and__(int mask)''' 1692 return QSGNode.Flags() 1693 def __xor__(self, f): 1694 '''QSGNode.Flags QSGNode.Flags.__xor__(QSGNode.Flags f)''' 1695 return QSGNode.Flags() 1696 def __xor__(self, f): 1697 '''QSGNode.Flags QSGNode.Flags.__xor__(int f)''' 1698 return QSGNode.Flags() 1699 def __or__(self, f): 1700 '''QSGNode.Flags QSGNode.Flags.__or__(QSGNode.Flags f)''' 1701 return QSGNode.Flags() 1702 def __or__(self, f): 1703 '''QSGNode.Flags QSGNode.Flags.__or__(int f)''' 1704 return QSGNode.Flags() 1705 def __int__(self): 1706 '''int QSGNode.Flags.__int__()''' 1707 return int() 1708 def __ixor__(self, f): 1709 '''QSGNode.Flags QSGNode.Flags.__ixor__(QSGNode.Flags f)''' 1710 return QSGNode.Flags() 1711 def __ior__(self, f): 1712 '''QSGNode.Flags QSGNode.Flags.__ior__(QSGNode.Flags f)''' 1713 return QSGNode.Flags() 1714 def __iand__(self, mask): 1715 '''QSGNode.Flags QSGNode.Flags.__iand__(int mask)''' 1716 return QSGNode.Flags() 1717 class DirtyState(): 1718 """""" 1719 def __init__(self): 1720 '''QSGNode.DirtyState QSGNode.DirtyState.__init__()''' 1721 return QSGNode.DirtyState() 1722 def __init__(self): 1723 '''int QSGNode.DirtyState.__init__()''' 1724 return int() 1725 def __init__(self): 1726 '''void QSGNode.DirtyState.__init__()''' 1727 def __bool__(self): 1728 '''int QSGNode.DirtyState.__bool__()''' 1729 return int() 1730 def __ne__(self, f): 1731 '''bool QSGNode.DirtyState.__ne__(QSGNode.DirtyState f)''' 1732 return bool() 1733 def __eq__(self, f): 1734 '''bool QSGNode.DirtyState.__eq__(QSGNode.DirtyState f)''' 1735 return bool() 1736 def __invert__(self): 1737 '''QSGNode.DirtyState QSGNode.DirtyState.__invert__()''' 1738 return QSGNode.DirtyState() 1739 def __and__(self, mask): 1740 '''QSGNode.DirtyState QSGNode.DirtyState.__and__(int mask)''' 1741 return QSGNode.DirtyState() 1742 def __xor__(self, f): 1743 '''QSGNode.DirtyState QSGNode.DirtyState.__xor__(QSGNode.DirtyState f)''' 1744 return QSGNode.DirtyState() 1745 def __xor__(self, f): 1746 '''QSGNode.DirtyState QSGNode.DirtyState.__xor__(int f)''' 1747 return QSGNode.DirtyState() 1748 def __or__(self, f): 1749 '''QSGNode.DirtyState QSGNode.DirtyState.__or__(QSGNode.DirtyState f)''' 1750 return QSGNode.DirtyState() 1751 def __or__(self, f): 1752 '''QSGNode.DirtyState QSGNode.DirtyState.__or__(int f)''' 1753 return QSGNode.DirtyState() 1754 def __int__(self): 1755 '''int QSGNode.DirtyState.__int__()''' 1756 return int() 1757 def __ixor__(self, f): 1758 '''QSGNode.DirtyState QSGNode.DirtyState.__ixor__(QSGNode.DirtyState f)''' 1759 return QSGNode.DirtyState() 1760 def __ior__(self, f): 1761 '''QSGNode.DirtyState QSGNode.DirtyState.__ior__(QSGNode.DirtyState f)''' 1762 return QSGNode.DirtyState() 1763 def __iand__(self, mask): 1764 '''QSGNode.DirtyState QSGNode.DirtyState.__iand__(int mask)''' 1765 return QSGNode.DirtyState() 1766 1767 1768class QSGBasicGeometryNode(QSGNode): 1769 """""" 1770 def geometry(self): 1771 '''QSGGeometry QSGBasicGeometryNode.geometry()''' 1772 return QSGGeometry() 1773 def setGeometry(self, geometry): 1774 '''void QSGBasicGeometryNode.setGeometry(QSGGeometry geometry)''' 1775 1776 1777class QSGGeometryNode(QSGBasicGeometryNode): 1778 """""" 1779 def __init__(self): 1780 '''void QSGGeometryNode.__init__()''' 1781 def opaqueMaterial(self): 1782 '''QSGMaterial QSGGeometryNode.opaqueMaterial()''' 1783 return QSGMaterial() 1784 def setOpaqueMaterial(self, material): 1785 '''void QSGGeometryNode.setOpaqueMaterial(QSGMaterial material)''' 1786 def material(self): 1787 '''QSGMaterial QSGGeometryNode.material()''' 1788 return QSGMaterial() 1789 def setMaterial(self, material): 1790 '''void QSGGeometryNode.setMaterial(QSGMaterial material)''' 1791 1792 1793class QSGClipNode(QSGBasicGeometryNode): 1794 """""" 1795 def __init__(self): 1796 '''void QSGClipNode.__init__()''' 1797 def clipRect(self): 1798 '''QRectF QSGClipNode.clipRect()''' 1799 return QRectF() 1800 def setClipRect(self): 1801 '''QRectF QSGClipNode.setClipRect()''' 1802 return QRectF() 1803 def isRectangular(self): 1804 '''bool QSGClipNode.isRectangular()''' 1805 return bool() 1806 def setIsRectangular(self, rectHint): 1807 '''void QSGClipNode.setIsRectangular(bool rectHint)''' 1808 1809 1810class QSGTransformNode(QSGNode): 1811 """""" 1812 def __init__(self): 1813 '''void QSGTransformNode.__init__()''' 1814 def matrix(self): 1815 '''QMatrix4x4 QSGTransformNode.matrix()''' 1816 return QMatrix4x4() 1817 def setMatrix(self, matrix): 1818 '''void QSGTransformNode.setMatrix(QMatrix4x4 matrix)''' 1819 1820 1821class QSGOpacityNode(QSGNode): 1822 """""" 1823 def __init__(self): 1824 '''void QSGOpacityNode.__init__()''' 1825 def opacity(self): 1826 '''float QSGOpacityNode.opacity()''' 1827 return float() 1828 def setOpacity(self, opacity): 1829 '''void QSGOpacityNode.setOpacity(float opacity)''' 1830 1831 1832class QSGSimpleRectNode(QSGGeometryNode): 1833 """""" 1834 def __init__(self, rect, color): 1835 '''void QSGSimpleRectNode.__init__(QRectF rect, QColor color)''' 1836 def __init__(self): 1837 '''void QSGSimpleRectNode.__init__()''' 1838 def color(self): 1839 '''QColor QSGSimpleRectNode.color()''' 1840 return QColor() 1841 def setColor(self, color): 1842 '''void QSGSimpleRectNode.setColor(QColor color)''' 1843 def rect(self): 1844 '''QRectF QSGSimpleRectNode.rect()''' 1845 return QRectF() 1846 def setRect(self, rect): 1847 '''void QSGSimpleRectNode.setRect(QRectF rect)''' 1848 def setRect(self, x, y, w, h): 1849 '''void QSGSimpleRectNode.setRect(float x, float y, float w, float h)''' 1850 1851 1852class QSGSimpleTextureNode(QSGGeometryNode): 1853 """""" 1854 # Enum QSGSimpleTextureNode.TextureCoordinatesTransformFlag 1855 NoTransform = 0 1856 MirrorHorizontally = 0 1857 MirrorVertically = 0 1858 1859 def __init__(self): 1860 '''void QSGSimpleTextureNode.__init__()''' 1861 def sourceRect(self): 1862 '''QRectF QSGSimpleTextureNode.sourceRect()''' 1863 return QRectF() 1864 def setSourceRect(self, r): 1865 '''void QSGSimpleTextureNode.setSourceRect(QRectF r)''' 1866 def setSourceRect(self, x, y, w, h): 1867 '''void QSGSimpleTextureNode.setSourceRect(float x, float y, float w, float h)''' 1868 def ownsTexture(self): 1869 '''bool QSGSimpleTextureNode.ownsTexture()''' 1870 return bool() 1871 def setOwnsTexture(self, owns): 1872 '''void QSGSimpleTextureNode.setOwnsTexture(bool owns)''' 1873 def textureCoordinatesTransform(self): 1874 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.textureCoordinatesTransform()''' 1875 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1876 def setTextureCoordinatesTransform(self, mode): 1877 '''void QSGSimpleTextureNode.setTextureCoordinatesTransform(QSGSimpleTextureNode.TextureCoordinatesTransformMode mode)''' 1878 def filtering(self): 1879 '''QSGTexture.Filtering QSGSimpleTextureNode.filtering()''' 1880 return QSGTexture.Filtering() 1881 def setFiltering(self, filtering): 1882 '''void QSGSimpleTextureNode.setFiltering(QSGTexture.Filtering filtering)''' 1883 def texture(self): 1884 '''QSGTexture QSGSimpleTextureNode.texture()''' 1885 return QSGTexture() 1886 def setTexture(self, texture): 1887 '''void QSGSimpleTextureNode.setTexture(QSGTexture texture)''' 1888 def rect(self): 1889 '''QRectF QSGSimpleTextureNode.rect()''' 1890 return QRectF() 1891 def setRect(self, rect): 1892 '''void QSGSimpleTextureNode.setRect(QRectF rect)''' 1893 def setRect(self, x, y, w, h): 1894 '''void QSGSimpleTextureNode.setRect(float x, float y, float w, float h)''' 1895 class TextureCoordinatesTransformMode(): 1896 """""" 1897 def __init__(self): 1898 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__init__()''' 1899 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1900 def __init__(self): 1901 '''int QSGSimpleTextureNode.TextureCoordinatesTransformMode.__init__()''' 1902 return int() 1903 def __init__(self): 1904 '''void QSGSimpleTextureNode.TextureCoordinatesTransformMode.__init__()''' 1905 def __bool__(self): 1906 '''int QSGSimpleTextureNode.TextureCoordinatesTransformMode.__bool__()''' 1907 return int() 1908 def __ne__(self, f): 1909 '''bool QSGSimpleTextureNode.TextureCoordinatesTransformMode.__ne__(QSGSimpleTextureNode.TextureCoordinatesTransformMode f)''' 1910 return bool() 1911 def __eq__(self, f): 1912 '''bool QSGSimpleTextureNode.TextureCoordinatesTransformMode.__eq__(QSGSimpleTextureNode.TextureCoordinatesTransformMode f)''' 1913 return bool() 1914 def __invert__(self): 1915 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__invert__()''' 1916 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1917 def __and__(self, mask): 1918 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__and__(int mask)''' 1919 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1920 def __xor__(self, f): 1921 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__xor__(QSGSimpleTextureNode.TextureCoordinatesTransformMode f)''' 1922 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1923 def __xor__(self, f): 1924 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__xor__(int f)''' 1925 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1926 def __or__(self, f): 1927 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__or__(QSGSimpleTextureNode.TextureCoordinatesTransformMode f)''' 1928 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1929 def __or__(self, f): 1930 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__or__(int f)''' 1931 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1932 def __int__(self): 1933 '''int QSGSimpleTextureNode.TextureCoordinatesTransformMode.__int__()''' 1934 return int() 1935 def __ixor__(self, f): 1936 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__ixor__(QSGSimpleTextureNode.TextureCoordinatesTransformMode f)''' 1937 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1938 def __ior__(self, f): 1939 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__ior__(QSGSimpleTextureNode.TextureCoordinatesTransformMode f)''' 1940 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1941 def __iand__(self, mask): 1942 '''QSGSimpleTextureNode.TextureCoordinatesTransformMode QSGSimpleTextureNode.TextureCoordinatesTransformMode.__iand__(int mask)''' 1943 return QSGSimpleTextureNode.TextureCoordinatesTransformMode() 1944 1945 1946class QSGTexture(QObject): 1947 """""" 1948 # Enum QSGTexture.Filtering 1949 __kdevpythondocumentation_builtin_None = 0 1950 Nearest = 0 1951 Linear = 0 1952 1953 # Enum QSGTexture.WrapMode 1954 Repeat = 0 1955 ClampToEdge = 0 1956 1957 def __init__(self): 1958 '''void QSGTexture.__init__()''' 1959 def convertToNormalizedSourceRect(self, rect): 1960 '''QRectF QSGTexture.convertToNormalizedSourceRect(QRectF rect)''' 1961 return QRectF() 1962 def verticalWrapMode(self): 1963 '''QSGTexture.WrapMode QSGTexture.verticalWrapMode()''' 1964 return QSGTexture.WrapMode() 1965 def setVerticalWrapMode(self, vwrap): 1966 '''void QSGTexture.setVerticalWrapMode(QSGTexture.WrapMode vwrap)''' 1967 def horizontalWrapMode(self): 1968 '''QSGTexture.WrapMode QSGTexture.horizontalWrapMode()''' 1969 return QSGTexture.WrapMode() 1970 def setHorizontalWrapMode(self, hwrap): 1971 '''void QSGTexture.setHorizontalWrapMode(QSGTexture.WrapMode hwrap)''' 1972 def filtering(self): 1973 '''QSGTexture.Filtering QSGTexture.filtering()''' 1974 return QSGTexture.Filtering() 1975 def setFiltering(self, filter): 1976 '''void QSGTexture.setFiltering(QSGTexture.Filtering filter)''' 1977 def mipmapFiltering(self): 1978 '''QSGTexture.Filtering QSGTexture.mipmapFiltering()''' 1979 return QSGTexture.Filtering() 1980 def setMipmapFiltering(self, filter): 1981 '''void QSGTexture.setMipmapFiltering(QSGTexture.Filtering filter)''' 1982 def updateBindOptions(self, force = False): 1983 '''void QSGTexture.updateBindOptions(bool force = False)''' 1984 def bind(self): 1985 '''abstract void QSGTexture.bind()''' 1986 def removedFromAtlas(self): 1987 '''QSGTexture QSGTexture.removedFromAtlas()''' 1988 return QSGTexture() 1989 def isAtlasTexture(self): 1990 '''bool QSGTexture.isAtlasTexture()''' 1991 return bool() 1992 def normalizedTextureSubRect(self): 1993 '''QRectF QSGTexture.normalizedTextureSubRect()''' 1994 return QRectF() 1995 def hasMipmaps(self): 1996 '''abstract bool QSGTexture.hasMipmaps()''' 1997 return bool() 1998 def hasAlphaChannel(self): 1999 '''abstract bool QSGTexture.hasAlphaChannel()''' 2000 return bool() 2001 def textureSize(self): 2002 '''abstract QSize QSGTexture.textureSize()''' 2003 return QSize() 2004 def textureId(self): 2005 '''abstract int QSGTexture.textureId()''' 2006 return int() 2007 2008 2009class QSGDynamicTexture(QSGTexture): 2010 """""" 2011 def __init__(self): 2012 '''void QSGDynamicTexture.__init__()''' 2013 def updateTexture(self): 2014 '''abstract bool QSGDynamicTexture.updateTexture()''' 2015 return bool() 2016 2017 2018class QSGOpaqueTextureMaterial(QSGMaterial): 2019 """""" 2020 def __init__(self): 2021 '''void QSGOpaqueTextureMaterial.__init__()''' 2022 def verticalWrapMode(self): 2023 '''QSGTexture.WrapMode QSGOpaqueTextureMaterial.verticalWrapMode()''' 2024 return QSGTexture.WrapMode() 2025 def setVerticalWrapMode(self, mode): 2026 '''void QSGOpaqueTextureMaterial.setVerticalWrapMode(QSGTexture.WrapMode mode)''' 2027 def horizontalWrapMode(self): 2028 '''QSGTexture.WrapMode QSGOpaqueTextureMaterial.horizontalWrapMode()''' 2029 return QSGTexture.WrapMode() 2030 def setHorizontalWrapMode(self, mode): 2031 '''void QSGOpaqueTextureMaterial.setHorizontalWrapMode(QSGTexture.WrapMode mode)''' 2032 def filtering(self): 2033 '''QSGTexture.Filtering QSGOpaqueTextureMaterial.filtering()''' 2034 return QSGTexture.Filtering() 2035 def setFiltering(self, filtering): 2036 '''void QSGOpaqueTextureMaterial.setFiltering(QSGTexture.Filtering filtering)''' 2037 def mipmapFiltering(self): 2038 '''QSGTexture.Filtering QSGOpaqueTextureMaterial.mipmapFiltering()''' 2039 return QSGTexture.Filtering() 2040 def setMipmapFiltering(self, filtering): 2041 '''void QSGOpaqueTextureMaterial.setMipmapFiltering(QSGTexture.Filtering filtering)''' 2042 def texture(self): 2043 '''QSGTexture QSGOpaqueTextureMaterial.texture()''' 2044 return QSGTexture() 2045 def setTexture(self, texture): 2046 '''void QSGOpaqueTextureMaterial.setTexture(QSGTexture texture)''' 2047 def compare(self, other): 2048 '''int QSGOpaqueTextureMaterial.compare(QSGMaterial other)''' 2049 return int() 2050 def createShader(self): 2051 '''QSGMaterialShader QSGOpaqueTextureMaterial.createShader()''' 2052 return QSGMaterialShader() 2053 def type(self): 2054 '''QSGMaterialType QSGOpaqueTextureMaterial.type()''' 2055 return QSGMaterialType() 2056 2057 2058class QSGTextureMaterial(QSGOpaqueTextureMaterial): 2059 """""" 2060 def __init__(self): 2061 '''void QSGTextureMaterial.__init__()''' 2062 def createShader(self): 2063 '''QSGMaterialShader QSGTextureMaterial.createShader()''' 2064 return QSGMaterialShader() 2065 def type(self): 2066 '''QSGMaterialType QSGTextureMaterial.type()''' 2067 return QSGMaterialType() 2068 2069 2070class QSGTextureProvider(QObject): 2071 """""" 2072 def __init__(self): 2073 '''void QSGTextureProvider.__init__()''' 2074 textureChanged = pyqtSignal() # void textureChanged() - signal 2075 def texture(self): 2076 '''abstract QSGTexture QSGTextureProvider.texture()''' 2077 return QSGTexture() 2078 2079 2080class QSGVertexColorMaterial(QSGMaterial): 2081 """""" 2082 def __init__(self): 2083 '''void QSGVertexColorMaterial.__init__()''' 2084 def createShader(self): 2085 '''QSGMaterialShader QSGVertexColorMaterial.createShader()''' 2086 return QSGMaterialShader() 2087 def type(self): 2088 '''QSGMaterialType QSGVertexColorMaterial.type()''' 2089 return QSGMaterialType() 2090 def compare(self, other): 2091 '''int QSGVertexColorMaterial.compare(QSGMaterial other)''' 2092 return int() 2093 2094 2095