File indexing completed on 2024-05-12 16:09:06
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 QQuickItem(QObject, QQmlParserStatus): 0011 """""" 0012 # Enum QQuickItem.TransformOrigin 0013 TopLeft = 0 0014 Top = 0 0015 TopRight = 0 0016 Left = 0 0017 Center = 0 0018 Right = 0 0019 BottomLeft = 0 0020 Bottom = 0 0021 BottomRight = 0 0022 0023 # Enum QQuickItem.ItemChange 0024 ItemChildAddedChange = 0 0025 ItemChildRemovedChange = 0 0026 ItemSceneChange = 0 0027 ItemVisibleHasChanged = 0 0028 ItemParentHasChanged = 0 0029 ItemOpacityHasChanged = 0 0030 ItemActiveFocusHasChanged = 0 0031 ItemRotationHasChanged = 0 0032 ItemAntialiasingHasChanged = 0 0033 0034 # Enum QQuickItem.Flag 0035 ItemClipsChildrenToShape = 0 0036 ItemAcceptsInputMethod = 0 0037 ItemIsFocusScope = 0 0038 ItemHasContents = 0 0039 ItemAcceptsDrops = 0 0040 0041 def __init__(self, parent = None): 0042 '''void QQuickItem.__init__(QQuickItem parent = None)''' 0043 def grabToImage(self, targetSize = QSize()): 0044 '''QQuickItemGrabResult QQuickItem.grabToImage(QSize targetSize = QSize())''' 0045 return QQuickItemGrabResult() 0046 def resetAntialiasing(self): 0047 '''void QQuickItem.resetAntialiasing()''' 0048 windowChanged = pyqtSignal() # void windowChanged(QQuickWindow*) - signal 0049 def nextItemInFocusChain(self, forward = True): 0050 '''QQuickItem QQuickItem.nextItemInFocusChain(bool forward = True)''' 0051 return QQuickItem() 0052 def setActiveFocusOnTab(self): 0053 '''bool QQuickItem.setActiveFocusOnTab()''' 0054 return bool() 0055 def activeFocusOnTab(self): 0056 '''bool QQuickItem.activeFocusOnTab()''' 0057 return bool() 0058 def updatePolish(self): 0059 '''void QQuickItem.updatePolish()''' 0060 def releaseResources(self): 0061 '''void QQuickItem.releaseResources()''' 0062 def updatePaintNode(self): 0063 '''QQuickItem.UpdatePaintNodeData QQuickItem.updatePaintNode()''' 0064 return QQuickItem.UpdatePaintNodeData() 0065 def geometryChanged(self, newGeometry, oldGeometry): 0066 '''void QQuickItem.geometryChanged(QRectF newGeometry, QRectF oldGeometry)''' 0067 def childMouseEventFilter(self): 0068 '''QEvent QQuickItem.childMouseEventFilter()''' 0069 return QEvent() 0070 def dropEvent(self): 0071 '''QDropEvent QQuickItem.dropEvent()''' 0072 return QDropEvent() 0073 def dragLeaveEvent(self): 0074 '''QDragLeaveEvent QQuickItem.dragLeaveEvent()''' 0075 return QDragLeaveEvent() 0076 def dragMoveEvent(self): 0077 '''QDragMoveEvent QQuickItem.dragMoveEvent()''' 0078 return QDragMoveEvent() 0079 def dragEnterEvent(self): 0080 '''QDragEnterEvent QQuickItem.dragEnterEvent()''' 0081 return QDragEnterEvent() 0082 def hoverLeaveEvent(self, event): 0083 '''void QQuickItem.hoverLeaveEvent(QHoverEvent event)''' 0084 def hoverMoveEvent(self, event): 0085 '''void QQuickItem.hoverMoveEvent(QHoverEvent event)''' 0086 def hoverEnterEvent(self, event): 0087 '''void QQuickItem.hoverEnterEvent(QHoverEvent event)''' 0088 def touchEvent(self, event): 0089 '''void QQuickItem.touchEvent(QTouchEvent event)''' 0090 def wheelEvent(self, event): 0091 '''void QQuickItem.wheelEvent(QWheelEvent event)''' 0092 def touchUngrabEvent(self): 0093 '''void QQuickItem.touchUngrabEvent()''' 0094 def mouseUngrabEvent(self): 0095 '''void QQuickItem.mouseUngrabEvent()''' 0096 def mouseDoubleClickEvent(self, event): 0097 '''void QQuickItem.mouseDoubleClickEvent(QMouseEvent event)''' 0098 def mouseReleaseEvent(self, event): 0099 '''void QQuickItem.mouseReleaseEvent(QMouseEvent event)''' 0100 def mouseMoveEvent(self, event): 0101 '''void QQuickItem.mouseMoveEvent(QMouseEvent event)''' 0102 def mousePressEvent(self, event): 0103 '''void QQuickItem.mousePressEvent(QMouseEvent event)''' 0104 def focusOutEvent(self): 0105 '''QFocusEvent QQuickItem.focusOutEvent()''' 0106 return QFocusEvent() 0107 def focusInEvent(self): 0108 '''QFocusEvent QQuickItem.focusInEvent()''' 0109 return QFocusEvent() 0110 def inputMethodEvent(self): 0111 '''QInputMethodEvent QQuickItem.inputMethodEvent()''' 0112 return QInputMethodEvent() 0113 def keyReleaseEvent(self, event): 0114 '''void QQuickItem.keyReleaseEvent(QKeyEvent event)''' 0115 def keyPressEvent(self, event): 0116 '''void QQuickItem.keyPressEvent(QKeyEvent event)''' 0117 def componentComplete(self): 0118 '''void QQuickItem.componentComplete()''' 0119 def classBegin(self): 0120 '''void QQuickItem.classBegin()''' 0121 def heightValid(self): 0122 '''bool QQuickItem.heightValid()''' 0123 return bool() 0124 def widthValid(self): 0125 '''bool QQuickItem.widthValid()''' 0126 return bool() 0127 def updateInputMethod(self, queries = None): 0128 '''void QQuickItem.updateInputMethod(Qt.InputMethodQueries queries = Qt.ImQueryInput)''' 0129 def itemChange(self): 0130 '''QQuickItem.ItemChangeData QQuickItem.itemChange()''' 0131 return QQuickItem.ItemChangeData() 0132 def isComponentComplete(self): 0133 '''bool QQuickItem.isComponentComplete()''' 0134 return bool() 0135 def event(self): 0136 '''QEvent QQuickItem.event()''' 0137 return QEvent() 0138 def update(self): 0139 '''void QQuickItem.update()''' 0140 def textureProvider(self): 0141 '''QSGTextureProvider QQuickItem.textureProvider()''' 0142 return QSGTextureProvider() 0143 def isTextureProvider(self): 0144 '''bool QQuickItem.isTextureProvider()''' 0145 return bool() 0146 def inputMethodQuery(self, query): 0147 '''QVariant QQuickItem.inputMethodQuery(Qt.InputMethodQuery query)''' 0148 return QVariant() 0149 def childAt(self, x, y): 0150 '''QQuickItem QQuickItem.childAt(float x, float y)''' 0151 return QQuickItem() 0152 def forceActiveFocus(self): 0153 '''void QQuickItem.forceActiveFocus()''' 0154 def forceActiveFocus(self, reason): 0155 '''void QQuickItem.forceActiveFocus(Qt.FocusReason reason)''' 0156 def polish(self): 0157 '''void QQuickItem.polish()''' 0158 def mapRectFromScene(self, rect): 0159 '''QRectF QQuickItem.mapRectFromScene(QRectF rect)''' 0160 return QRectF() 0161 def mapRectFromItem(self, item, rect): 0162 '''QRectF QQuickItem.mapRectFromItem(QQuickItem item, QRectF rect)''' 0163 return QRectF() 0164 def mapFromScene(self, point): 0165 '''QPointF QQuickItem.mapFromScene(QPointF point)''' 0166 return QPointF() 0167 def mapFromItem(self, item, point): 0168 '''QPointF QQuickItem.mapFromItem(QQuickItem item, QPointF point)''' 0169 return QPointF() 0170 def mapRectToScene(self, rect): 0171 '''QRectF QQuickItem.mapRectToScene(QRectF rect)''' 0172 return QRectF() 0173 def mapRectToItem(self, item, rect): 0174 '''QRectF QQuickItem.mapRectToItem(QQuickItem item, QRectF rect)''' 0175 return QRectF() 0176 def mapToScene(self, point): 0177 '''QPointF QQuickItem.mapToScene(QPointF point)''' 0178 return QPointF() 0179 def mapToItem(self, item, point): 0180 '''QPointF QQuickItem.mapToItem(QQuickItem item, QPointF point)''' 0181 return QPointF() 0182 def contains(self, point): 0183 '''bool QQuickItem.contains(QPointF point)''' 0184 return bool() 0185 def setKeepTouchGrab(self): 0186 '''bool QQuickItem.setKeepTouchGrab()''' 0187 return bool() 0188 def keepTouchGrab(self): 0189 '''bool QQuickItem.keepTouchGrab()''' 0190 return bool() 0191 def ungrabTouchPoints(self): 0192 '''void QQuickItem.ungrabTouchPoints()''' 0193 def grabTouchPoints(self, ids): 0194 '''void QQuickItem.grabTouchPoints(list-of-int ids)''' 0195 def setFiltersChildMouseEvents(self, filter): 0196 '''void QQuickItem.setFiltersChildMouseEvents(bool filter)''' 0197 def filtersChildMouseEvents(self): 0198 '''bool QQuickItem.filtersChildMouseEvents()''' 0199 return bool() 0200 def setKeepMouseGrab(self): 0201 '''bool QQuickItem.setKeepMouseGrab()''' 0202 return bool() 0203 def keepMouseGrab(self): 0204 '''bool QQuickItem.keepMouseGrab()''' 0205 return bool() 0206 def ungrabMouse(self): 0207 '''void QQuickItem.ungrabMouse()''' 0208 def grabMouse(self): 0209 '''void QQuickItem.grabMouse()''' 0210 def unsetCursor(self): 0211 '''void QQuickItem.unsetCursor()''' 0212 def setCursor(self, cursor): 0213 '''void QQuickItem.setCursor(QCursor cursor)''' 0214 def cursor(self): 0215 '''QCursor QQuickItem.cursor()''' 0216 return QCursor() 0217 def setAcceptHoverEvents(self, enabled): 0218 '''void QQuickItem.setAcceptHoverEvents(bool enabled)''' 0219 def acceptHoverEvents(self): 0220 '''bool QQuickItem.acceptHoverEvents()''' 0221 return bool() 0222 def setAcceptedMouseButtons(self, buttons): 0223 '''void QQuickItem.setAcceptedMouseButtons(Qt.MouseButtons buttons)''' 0224 def acceptedMouseButtons(self): 0225 '''Qt.MouseButtons QQuickItem.acceptedMouseButtons()''' 0226 return Qt.MouseButtons() 0227 def scopedFocusItem(self): 0228 '''QQuickItem QQuickItem.scopedFocusItem()''' 0229 return QQuickItem() 0230 def isFocusScope(self): 0231 '''bool QQuickItem.isFocusScope()''' 0232 return bool() 0233 def setFocus(self): 0234 '''bool QQuickItem.setFocus()''' 0235 return bool() 0236 def setFocus(self, focus, reason): 0237 '''void QQuickItem.setFocus(bool focus, Qt.FocusReason reason)''' 0238 def hasFocus(self): 0239 '''bool QQuickItem.hasFocus()''' 0240 return bool() 0241 def hasActiveFocus(self): 0242 '''bool QQuickItem.hasActiveFocus()''' 0243 return bool() 0244 def setFlags(self, flags): 0245 '''void QQuickItem.setFlags(QQuickItem.Flags flags)''' 0246 def setFlag(self, flag, enabled = True): 0247 '''void QQuickItem.setFlag(QQuickItem.Flag flag, bool enabled = True)''' 0248 def flags(self): 0249 '''QQuickItem.Flags QQuickItem.flags()''' 0250 return QQuickItem.Flags() 0251 def setAntialiasing(self): 0252 '''bool QQuickItem.setAntialiasing()''' 0253 return bool() 0254 def antialiasing(self): 0255 '''bool QQuickItem.antialiasing()''' 0256 return bool() 0257 def setSmooth(self): 0258 '''bool QQuickItem.setSmooth()''' 0259 return bool() 0260 def smooth(self): 0261 '''bool QQuickItem.smooth()''' 0262 return bool() 0263 def setEnabled(self): 0264 '''bool QQuickItem.setEnabled()''' 0265 return bool() 0266 def isEnabled(self): 0267 '''bool QQuickItem.isEnabled()''' 0268 return bool() 0269 def setVisible(self): 0270 '''bool QQuickItem.setVisible()''' 0271 return bool() 0272 def isVisible(self): 0273 '''bool QQuickItem.isVisible()''' 0274 return bool() 0275 def setOpacity(self): 0276 '''float QQuickItem.setOpacity()''' 0277 return float() 0278 def opacity(self): 0279 '''float QQuickItem.opacity()''' 0280 return float() 0281 def setScale(self): 0282 '''float QQuickItem.setScale()''' 0283 return float() 0284 def scale(self): 0285 '''float QQuickItem.scale()''' 0286 return float() 0287 def setRotation(self): 0288 '''float QQuickItem.setRotation()''' 0289 return float() 0290 def rotation(self): 0291 '''float QQuickItem.rotation()''' 0292 return float() 0293 def setZ(self): 0294 '''float QQuickItem.setZ()''' 0295 return float() 0296 def z(self): 0297 '''float QQuickItem.z()''' 0298 return float() 0299 def setTransformOrigin(self): 0300 '''QQuickItem.TransformOrigin QQuickItem.setTransformOrigin()''' 0301 return QQuickItem.TransformOrigin() 0302 def transformOrigin(self): 0303 '''QQuickItem.TransformOrigin QQuickItem.transformOrigin()''' 0304 return QQuickItem.TransformOrigin() 0305 def implicitHeight(self): 0306 '''float QQuickItem.implicitHeight()''' 0307 return float() 0308 def setImplicitHeight(self): 0309 '''float QQuickItem.setImplicitHeight()''' 0310 return float() 0311 def resetHeight(self): 0312 '''void QQuickItem.resetHeight()''' 0313 def setHeight(self): 0314 '''float QQuickItem.setHeight()''' 0315 return float() 0316 def height(self): 0317 '''float QQuickItem.height()''' 0318 return float() 0319 def implicitWidth(self): 0320 '''float QQuickItem.implicitWidth()''' 0321 return float() 0322 def setImplicitWidth(self): 0323 '''float QQuickItem.setImplicitWidth()''' 0324 return float() 0325 def resetWidth(self): 0326 '''void QQuickItem.resetWidth()''' 0327 def setWidth(self): 0328 '''float QQuickItem.setWidth()''' 0329 return float() 0330 def width(self): 0331 '''float QQuickItem.width()''' 0332 return float() 0333 def setY(self): 0334 '''float QQuickItem.setY()''' 0335 return float() 0336 def setX(self): 0337 '''float QQuickItem.setX()''' 0338 return float() 0339 def y(self): 0340 '''float QQuickItem.y()''' 0341 return float() 0342 def x(self): 0343 '''float QQuickItem.x()''' 0344 return float() 0345 def setBaselineOffset(self): 0346 '''float QQuickItem.setBaselineOffset()''' 0347 return float() 0348 def baselineOffset(self): 0349 '''float QQuickItem.baselineOffset()''' 0350 return float() 0351 def setState(self): 0352 '''str QQuickItem.setState()''' 0353 return str() 0354 def state(self): 0355 '''str QQuickItem.state()''' 0356 return str() 0357 def setClip(self): 0358 '''bool QQuickItem.setClip()''' 0359 return bool() 0360 def clip(self): 0361 '''bool QQuickItem.clip()''' 0362 return bool() 0363 def childItems(self): 0364 '''list-of-QQuickItem QQuickItem.childItems()''' 0365 return [QQuickItem()] 0366 def childrenRect(self): 0367 '''QRectF QQuickItem.childrenRect()''' 0368 return QRectF() 0369 def stackAfter(self): 0370 '''QQuickItem QQuickItem.stackAfter()''' 0371 return QQuickItem() 0372 def stackBefore(self): 0373 '''QQuickItem QQuickItem.stackBefore()''' 0374 return QQuickItem() 0375 def setParentItem(self, parent): 0376 '''void QQuickItem.setParentItem(QQuickItem parent)''' 0377 def parentItem(self): 0378 '''QQuickItem QQuickItem.parentItem()''' 0379 return QQuickItem() 0380 def window(self): 0381 '''QQuickWindow QQuickItem.window()''' 0382 return QQuickWindow() 0383 class ItemChangeData(): 0384 """""" 0385 boolValue = None # bool - member 0386 item = None # QQuickItem - member 0387 realValue = None # float - member 0388 window = None # QQuickWindow - member 0389 def __init__(self, v): 0390 '''void QQuickItem.ItemChangeData.__init__(QQuickItem v)''' 0391 def __init__(self, v): 0392 '''void QQuickItem.ItemChangeData.__init__(QQuickWindow v)''' 0393 def __init__(self, v): 0394 '''void QQuickItem.ItemChangeData.__init__(float v)''' 0395 def __init__(self, v): 0396 '''void QQuickItem.ItemChangeData.__init__(bool v)''' 0397 def __init__(self): 0398 '''QQuickItem.ItemChangeData QQuickItem.ItemChangeData.__init__()''' 0399 return QQuickItem.ItemChangeData() 0400 class Flags(): 0401 """""" 0402 def __init__(self): 0403 '''QQuickItem.Flags QQuickItem.Flags.__init__()''' 0404 return QQuickItem.Flags() 0405 def __init__(self): 0406 '''int QQuickItem.Flags.__init__()''' 0407 return int() 0408 def __init__(self): 0409 '''void QQuickItem.Flags.__init__()''' 0410 def __bool__(self): 0411 '''int QQuickItem.Flags.__bool__()''' 0412 return int() 0413 def __ne__(self, f): 0414 '''bool QQuickItem.Flags.__ne__(QQuickItem.Flags f)''' 0415 return bool() 0416 def __eq__(self, f): 0417 '''bool QQuickItem.Flags.__eq__(QQuickItem.Flags f)''' 0418 return bool() 0419 def __invert__(self): 0420 '''QQuickItem.Flags QQuickItem.Flags.__invert__()''' 0421 return QQuickItem.Flags() 0422 def __and__(self, mask): 0423 '''QQuickItem.Flags QQuickItem.Flags.__and__(int mask)''' 0424 return QQuickItem.Flags() 0425 def __xor__(self, f): 0426 '''QQuickItem.Flags QQuickItem.Flags.__xor__(QQuickItem.Flags f)''' 0427 return QQuickItem.Flags() 0428 def __xor__(self, f): 0429 '''QQuickItem.Flags QQuickItem.Flags.__xor__(int f)''' 0430 return QQuickItem.Flags() 0431 def __or__(self, f): 0432 '''QQuickItem.Flags QQuickItem.Flags.__or__(QQuickItem.Flags f)''' 0433 return QQuickItem.Flags() 0434 def __or__(self, f): 0435 '''QQuickItem.Flags QQuickItem.Flags.__or__(int f)''' 0436 return QQuickItem.Flags() 0437 def __int__(self): 0438 '''int QQuickItem.Flags.__int__()''' 0439 return int() 0440 def __ixor__(self, f): 0441 '''QQuickItem.Flags QQuickItem.Flags.__ixor__(QQuickItem.Flags f)''' 0442 return QQuickItem.Flags() 0443 def __ior__(self, f): 0444 '''QQuickItem.Flags QQuickItem.Flags.__ior__(QQuickItem.Flags f)''' 0445 return QQuickItem.Flags() 0446 def __iand__(self, mask): 0447 '''QQuickItem.Flags QQuickItem.Flags.__iand__(int mask)''' 0448 return QQuickItem.Flags() 0449 class UpdatePaintNodeData(): 0450 """""" 0451 transformNode = None # QSGTransformNode - member 0452 def __init__(self): 0453 '''QQuickItem.UpdatePaintNodeData QQuickItem.UpdatePaintNodeData.__init__()''' 0454 return QQuickItem.UpdatePaintNodeData() 0455 0456 0457 class QQuickFramebufferObject(QQuickItem): 0458 """""" 0459 def __init__(self, parent = None): 0460 '''void QQuickFramebufferObject.__init__(QQuickItem parent = None)''' 0461 def releaseResources(self): 0462 '''void QQuickFramebufferObject.releaseResources()''' 0463 def textureProvider(self): 0464 '''QSGTextureProvider QQuickFramebufferObject.textureProvider()''' 0465 return QSGTextureProvider() 0466 def isTextureProvider(self): 0467 '''bool QQuickFramebufferObject.isTextureProvider()''' 0468 return bool() 0469 textureFollowsItemSizeChanged = pyqtSignal() # void textureFollowsItemSizeChanged(bool) - signal 0470 def updatePaintNode(self): 0471 '''QQuickItem.UpdatePaintNodeData QQuickFramebufferObject.updatePaintNode()''' 0472 return QQuickItem.UpdatePaintNodeData() 0473 def geometryChanged(self, newGeometry, oldGeometry): 0474 '''void QQuickFramebufferObject.geometryChanged(QRectF newGeometry, QRectF oldGeometry)''' 0475 def createRenderer(self): 0476 '''abstract QQuickFramebufferObject.Renderer QQuickFramebufferObject.createRenderer()''' 0477 return QQuickFramebufferObject.Renderer() 0478 def setTextureFollowsItemSize(self, follows): 0479 '''void QQuickFramebufferObject.setTextureFollowsItemSize(bool follows)''' 0480 def textureFollowsItemSize(self): 0481 '''bool QQuickFramebufferObject.textureFollowsItemSize()''' 0482 return bool() 0483 class Renderer(): 0484 """""" 0485 def __init__(self): 0486 '''void QQuickFramebufferObject.Renderer.__init__()''' 0487 def __init__(self): 0488 '''QQuickFramebufferObject.Renderer QQuickFramebufferObject.Renderer.__init__()''' 0489 return QQuickFramebufferObject.Renderer() 0490 def invalidateFramebufferObject(self): 0491 '''void QQuickFramebufferObject.Renderer.invalidateFramebufferObject()''' 0492 def update(self): 0493 '''void QQuickFramebufferObject.Renderer.update()''' 0494 def framebufferObject(self): 0495 '''QOpenGLFramebufferObject QQuickFramebufferObject.Renderer.framebufferObject()''' 0496 return QOpenGLFramebufferObject() 0497 def synchronize(self): 0498 '''QQuickFramebufferObject QQuickFramebufferObject.Renderer.synchronize()''' 0499 return QQuickFramebufferObject() 0500 def createFramebufferObject(self, size): 0501 '''QOpenGLFramebufferObject QQuickFramebufferObject.Renderer.createFramebufferObject(QSize size)''' 0502 return QOpenGLFramebufferObject() 0503 def render(self): 0504 '''abstract void QQuickFramebufferObject.Renderer.render()''' 0505 0506 0507 class QQuickTextureFactory(QObject): 0508 """""" 0509 def __init__(self): 0510 '''void QQuickTextureFactory.__init__()''' 0511 def image(self): 0512 '''QImage QQuickTextureFactory.image()''' 0513 return QImage() 0514 def textureByteCount(self): 0515 '''abstract int QQuickTextureFactory.textureByteCount()''' 0516 return int() 0517 def textureSize(self): 0518 '''abstract QSize QQuickTextureFactory.textureSize()''' 0519 return QSize() 0520 def createTexture(self, window): 0521 '''abstract QSGTexture QQuickTextureFactory.createTexture(QQuickWindow window)''' 0522 return QSGTexture() 0523 0524 0525 class QQuickImageProvider(QQmlImageProviderBase): 0526 """""" 0527 def __init__(self, type, flags = 0): 0528 '''void QQuickImageProvider.__init__(QQmlImageProviderBase.ImageType type, QQmlImageProviderBase.Flags flags = 0)''' 0529 def __init__(self): 0530 '''QQuickImageProvider QQuickImageProvider.__init__()''' 0531 return QQuickImageProvider() 0532 def requestTexture(self, id, size, requestedSize): 0533 '''QQuickTextureFactory QQuickImageProvider.requestTexture(str id, QSize size, QSize requestedSize)''' 0534 return QQuickTextureFactory() 0535 def requestPixmap(self, id, size, requestedSize): 0536 '''QPixmap QQuickImageProvider.requestPixmap(str id, QSize size, QSize requestedSize)''' 0537 return QPixmap() 0538 def requestImage(self, id, size, requestedSize): 0539 '''QImage QQuickImageProvider.requestImage(str id, QSize size, QSize requestedSize)''' 0540 return QImage() 0541 def flags(self): 0542 '''QQmlImageProviderBase.Flags QQuickImageProvider.flags()''' 0543 return QQmlImageProviderBase.Flags() 0544 def imageType(self): 0545 '''QQmlImageProviderBase.ImageType QQuickImageProvider.imageType()''' 0546 return QQmlImageProviderBase.ImageType() 0547 0548 0549 class QQuickItemGrabResult(QObject): 0550 """""" 0551 ready = pyqtSignal() # void ready() - signal 0552 def event(self): 0553 '''QEvent QQuickItemGrabResult.event()''' 0554 return QEvent() 0555 def saveToFile(self, fileName): 0556 '''bool QQuickItemGrabResult.saveToFile(str fileName)''' 0557 return bool() 0558 def url(self): 0559 '''QUrl QQuickItemGrabResult.url()''' 0560 return QUrl() 0561 def image(self): 0562 '''QImage QQuickItemGrabResult.image()''' 0563 return QImage() 0564 0565 0566 class QQuickPaintedItem(QQuickItem): 0567 """""" 0568 # Enum QQuickPaintedItem.PerformanceHint 0569 FastFBOResizing = 0 0570 0571 # Enum QQuickPaintedItem.RenderTarget 0572 Image = 0 0573 FramebufferObject = 0 0574 InvertedYFramebufferObject = 0 0575 0576 def __init__(self, parent = None): 0577 '''void QQuickPaintedItem.__init__(QQuickItem parent = None)''' 0578 def releaseResources(self): 0579 '''void QQuickPaintedItem.releaseResources()''' 0580 def textureProvider(self): 0581 '''QSGTextureProvider QQuickPaintedItem.textureProvider()''' 0582 return QSGTextureProvider() 0583 def isTextureProvider(self): 0584 '''bool QQuickPaintedItem.isTextureProvider()''' 0585 return bool() 0586 def updatePaintNode(self): 0587 '''QQuickItem.UpdatePaintNodeData QQuickPaintedItem.updatePaintNode()''' 0588 return QQuickItem.UpdatePaintNodeData() 0589 renderTargetChanged = pyqtSignal() # void renderTargetChanged() - signal 0590 contentsScaleChanged = pyqtSignal() # void contentsScaleChanged() - signal 0591 contentsSizeChanged = pyqtSignal() # void contentsSizeChanged() - signal 0592 fillColorChanged = pyqtSignal() # void fillColorChanged() - signal 0593 def paint(self, painter): 0594 '''abstract void QQuickPaintedItem.paint(QPainter painter)''' 0595 def setRenderTarget(self, target): 0596 '''void QQuickPaintedItem.setRenderTarget(QQuickPaintedItem.RenderTarget target)''' 0597 def renderTarget(self): 0598 '''QQuickPaintedItem.RenderTarget QQuickPaintedItem.renderTarget()''' 0599 return QQuickPaintedItem.RenderTarget() 0600 def setFillColor(self): 0601 '''QColor QQuickPaintedItem.setFillColor()''' 0602 return QColor() 0603 def fillColor(self): 0604 '''QColor QQuickPaintedItem.fillColor()''' 0605 return QColor() 0606 def setContentsScale(self): 0607 '''float QQuickPaintedItem.setContentsScale()''' 0608 return float() 0609 def contentsScale(self): 0610 '''float QQuickPaintedItem.contentsScale()''' 0611 return float() 0612 def resetContentsSize(self): 0613 '''void QQuickPaintedItem.resetContentsSize()''' 0614 def setContentsSize(self): 0615 '''QSize QQuickPaintedItem.setContentsSize()''' 0616 return QSize() 0617 def contentsSize(self): 0618 '''QSize QQuickPaintedItem.contentsSize()''' 0619 return QSize() 0620 def contentsBoundingRect(self): 0621 '''QRectF QQuickPaintedItem.contentsBoundingRect()''' 0622 return QRectF() 0623 def setPerformanceHints(self, hints): 0624 '''void QQuickPaintedItem.setPerformanceHints(QQuickPaintedItem.PerformanceHints hints)''' 0625 def setPerformanceHint(self, hint, enabled = True): 0626 '''void QQuickPaintedItem.setPerformanceHint(QQuickPaintedItem.PerformanceHint hint, bool enabled = True)''' 0627 def performanceHints(self): 0628 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.performanceHints()''' 0629 return QQuickPaintedItem.PerformanceHints() 0630 def setMipmap(self, enable): 0631 '''void QQuickPaintedItem.setMipmap(bool enable)''' 0632 def mipmap(self): 0633 '''bool QQuickPaintedItem.mipmap()''' 0634 return bool() 0635 def setAntialiasing(self, enable): 0636 '''void QQuickPaintedItem.setAntialiasing(bool enable)''' 0637 def antialiasing(self): 0638 '''bool QQuickPaintedItem.antialiasing()''' 0639 return bool() 0640 def setOpaquePainting(self, opaque): 0641 '''void QQuickPaintedItem.setOpaquePainting(bool opaque)''' 0642 def opaquePainting(self): 0643 '''bool QQuickPaintedItem.opaquePainting()''' 0644 return bool() 0645 def update(self, rect = QRect()): 0646 '''void QQuickPaintedItem.update(QRect rect = QRect())''' 0647 class PerformanceHints(): 0648 """""" 0649 def __init__(self): 0650 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__init__()''' 0651 return QQuickPaintedItem.PerformanceHints() 0652 def __init__(self): 0653 '''int QQuickPaintedItem.PerformanceHints.__init__()''' 0654 return int() 0655 def __init__(self): 0656 '''void QQuickPaintedItem.PerformanceHints.__init__()''' 0657 def __bool__(self): 0658 '''int QQuickPaintedItem.PerformanceHints.__bool__()''' 0659 return int() 0660 def __ne__(self, f): 0661 '''bool QQuickPaintedItem.PerformanceHints.__ne__(QQuickPaintedItem.PerformanceHints f)''' 0662 return bool() 0663 def __eq__(self, f): 0664 '''bool QQuickPaintedItem.PerformanceHints.__eq__(QQuickPaintedItem.PerformanceHints f)''' 0665 return bool() 0666 def __invert__(self): 0667 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__invert__()''' 0668 return QQuickPaintedItem.PerformanceHints() 0669 def __and__(self, mask): 0670 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__and__(int mask)''' 0671 return QQuickPaintedItem.PerformanceHints() 0672 def __xor__(self, f): 0673 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__xor__(QQuickPaintedItem.PerformanceHints f)''' 0674 return QQuickPaintedItem.PerformanceHints() 0675 def __xor__(self, f): 0676 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__xor__(int f)''' 0677 return QQuickPaintedItem.PerformanceHints() 0678 def __or__(self, f): 0679 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__or__(QQuickPaintedItem.PerformanceHints f)''' 0680 return QQuickPaintedItem.PerformanceHints() 0681 def __or__(self, f): 0682 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__or__(int f)''' 0683 return QQuickPaintedItem.PerformanceHints() 0684 def __int__(self): 0685 '''int QQuickPaintedItem.PerformanceHints.__int__()''' 0686 return int() 0687 def __ixor__(self, f): 0688 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__ixor__(QQuickPaintedItem.PerformanceHints f)''' 0689 return QQuickPaintedItem.PerformanceHints() 0690 def __ior__(self, f): 0691 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__ior__(QQuickPaintedItem.PerformanceHints f)''' 0692 return QQuickPaintedItem.PerformanceHints() 0693 def __iand__(self, mask): 0694 '''QQuickPaintedItem.PerformanceHints QQuickPaintedItem.PerformanceHints.__iand__(int mask)''' 0695 return QQuickPaintedItem.PerformanceHints() 0696 0697 0698 class QQuickRenderControl(QObject): 0699 """""" 0700 def __init__(self, parent = None): 0701 '''void QQuickRenderControl.__init__(QObject parent = None)''' 0702 sceneChanged = pyqtSignal() # void sceneChanged() - signal 0703 renderRequested = pyqtSignal() # void renderRequested() - signal 0704 def prepareThread(self, targetThread): 0705 '''void QQuickRenderControl.prepareThread(QThread targetThread)''' 0706 def renderWindow(self, offset): 0707 '''QWindow QQuickRenderControl.renderWindow(QPoint offset)''' 0708 return QWindow() 0709 def renderWindowFor(self, win, offset = None): 0710 '''static QWindow QQuickRenderControl.renderWindowFor(QQuickWindow win, QPoint offset = None)''' 0711 return QWindow() 0712 def grab(self): 0713 '''QImage QQuickRenderControl.grab()''' 0714 return QImage() 0715 def sync(self): 0716 '''bool QQuickRenderControl.sync()''' 0717 return bool() 0718 def render(self): 0719 '''void QQuickRenderControl.render()''' 0720 def polishItems(self): 0721 '''void QQuickRenderControl.polishItems()''' 0722 def invalidate(self): 0723 '''void QQuickRenderControl.invalidate()''' 0724 def initialize(self, gl): 0725 '''void QQuickRenderControl.initialize(QOpenGLContext gl)''' 0726 0727 0728 class QQuickTextDocument(QObject): 0729 """""" 0730 def __init__(self, parent): 0731 '''void QQuickTextDocument.__init__(QQuickItem parent)''' 0732 def textDocument(self): 0733 '''QTextDocument QQuickTextDocument.textDocument()''' 0734 return QTextDocument() 0735 0736 0737 class QQuickWindow(QWindow): 0738 """""" 0739 # Enum QQuickWindow.RenderStage 0740 BeforeSynchronizingStage = 0 0741 AfterSynchronizingStage = 0 0742 BeforeRenderingStage = 0 0743 AfterRenderingStage = 0 0744 AfterSwapStage = 0 0745 0746 # Enum QQuickWindow.SceneGraphError 0747 ContextNotAvailable = 0 0748 0749 # Enum QQuickWindow.CreateTextureOption 0750 TextureHasAlphaChannel = 0 0751 TextureHasMipmaps = 0 0752 TextureOwnsGLTexture = 0 0753 TextureCanUseAtlas = 0 0754 0755 def __init__(self, parent = None): 0756 '''void QQuickWindow.__init__(QWindow parent = None)''' 0757 def isSceneGraphInitialized(self): 0758 '''bool QQuickWindow.isSceneGraphInitialized()''' 0759 return bool() 0760 def effectiveDevicePixelRatio(self): 0761 '''float QQuickWindow.effectiveDevicePixelRatio()''' 0762 return float() 0763 def scheduleRenderJob(self, job, schedule): 0764 '''void QQuickWindow.scheduleRenderJob(QRunnable job, QQuickWindow.RenderStage schedule)''' 0765 sceneGraphError = pyqtSignal() # void sceneGraphError(QQuickWindow::SceneGraphError,const QStringamp;) - signal 0766 sceneGraphAboutToStop = pyqtSignal() # void sceneGraphAboutToStop() - signal 0767 afterAnimating = pyqtSignal() # void afterAnimating() - signal 0768 afterSynchronizing = pyqtSignal() # void afterSynchronizing() - signal 0769 openglContextCreated = pyqtSignal() # void openglContextCreated(QOpenGLContext*) - signal 0770 def resetOpenGLState(self): 0771 '''void QQuickWindow.resetOpenGLState()''' 0772 activeFocusItemChanged = pyqtSignal() # void activeFocusItemChanged() - signal 0773 def setDefaultAlphaBuffer(self, useAlpha): 0774 '''static void QQuickWindow.setDefaultAlphaBuffer(bool useAlpha)''' 0775 def hasDefaultAlphaBuffer(self): 0776 '''static bool QQuickWindow.hasDefaultAlphaBuffer()''' 0777 return bool() 0778 def wheelEvent(self): 0779 '''QWheelEvent QQuickWindow.wheelEvent()''' 0780 return QWheelEvent() 0781 def mouseMoveEvent(self): 0782 '''QMouseEvent QQuickWindow.mouseMoveEvent()''' 0783 return QMouseEvent() 0784 def mouseDoubleClickEvent(self): 0785 '''QMouseEvent QQuickWindow.mouseDoubleClickEvent()''' 0786 return QMouseEvent() 0787 def mouseReleaseEvent(self): 0788 '''QMouseEvent QQuickWindow.mouseReleaseEvent()''' 0789 return QMouseEvent() 0790 def mousePressEvent(self): 0791 '''QMouseEvent QQuickWindow.mousePressEvent()''' 0792 return QMouseEvent() 0793 def keyReleaseEvent(self): 0794 '''QKeyEvent QQuickWindow.keyReleaseEvent()''' 0795 return QKeyEvent() 0796 def keyPressEvent(self): 0797 '''QKeyEvent QQuickWindow.keyPressEvent()''' 0798 return QKeyEvent() 0799 def event(self): 0800 '''QEvent QQuickWindow.event()''' 0801 return QEvent() 0802 def focusOutEvent(self): 0803 '''QFocusEvent QQuickWindow.focusOutEvent()''' 0804 return QFocusEvent() 0805 def focusInEvent(self): 0806 '''QFocusEvent QQuickWindow.focusInEvent()''' 0807 return QFocusEvent() 0808 def hideEvent(self): 0809 '''QHideEvent QQuickWindow.hideEvent()''' 0810 return QHideEvent() 0811 def showEvent(self): 0812 '''QShowEvent QQuickWindow.showEvent()''' 0813 return QShowEvent() 0814 def resizeEvent(self): 0815 '''QResizeEvent QQuickWindow.resizeEvent()''' 0816 return QResizeEvent() 0817 def exposeEvent(self): 0818 '''QExposeEvent QQuickWindow.exposeEvent()''' 0819 return QExposeEvent() 0820 def releaseResources(self): 0821 '''void QQuickWindow.releaseResources()''' 0822 def update(self): 0823 '''void QQuickWindow.update()''' 0824 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 0825 afterRendering = pyqtSignal() # void afterRendering() - signal 0826 beforeRendering = pyqtSignal() # void beforeRendering() - signal 0827 beforeSynchronizing = pyqtSignal() # void beforeSynchronizing() - signal 0828 sceneGraphInvalidated = pyqtSignal() # void sceneGraphInvalidated() - signal 0829 sceneGraphInitialized = pyqtSignal() # void sceneGraphInitialized() - signal 0830 frameSwapped = pyqtSignal() # void frameSwapped() - signal 0831 def openglContext(self): 0832 '''QOpenGLContext QQuickWindow.openglContext()''' 0833 return QOpenGLContext() 0834 def isPersistentSceneGraph(self): 0835 '''bool QQuickWindow.isPersistentSceneGraph()''' 0836 return bool() 0837 def setPersistentSceneGraph(self, persistent): 0838 '''void QQuickWindow.setPersistentSceneGraph(bool persistent)''' 0839 def isPersistentOpenGLContext(self): 0840 '''bool QQuickWindow.isPersistentOpenGLContext()''' 0841 return bool() 0842 def setPersistentOpenGLContext(self, persistent): 0843 '''void QQuickWindow.setPersistentOpenGLContext(bool persistent)''' 0844 def color(self): 0845 '''QColor QQuickWindow.color()''' 0846 return QColor() 0847 def setColor(self, color): 0848 '''void QQuickWindow.setColor(QColor color)''' 0849 def clearBeforeRendering(self): 0850 '''bool QQuickWindow.clearBeforeRendering()''' 0851 return bool() 0852 def setClearBeforeRendering(self, enabled): 0853 '''void QQuickWindow.setClearBeforeRendering(bool enabled)''' 0854 def createTextureFromId(self, id, size, options = None): 0855 '''QSGTexture QQuickWindow.createTextureFromId(int id, QSize size, QQuickWindow.CreateTextureOptions options = (QQuickWindow::CreateTextureOption)0)''' 0856 return QSGTexture() 0857 def createTextureFromImage(self, image): 0858 '''QSGTexture QQuickWindow.createTextureFromImage(QImage image)''' 0859 return QSGTexture() 0860 def createTextureFromImage(self, image, options): 0861 '''QSGTexture QQuickWindow.createTextureFromImage(QImage image, QQuickWindow.CreateTextureOptions options)''' 0862 return QSGTexture() 0863 def incubationController(self): 0864 '''QQmlIncubationController QQuickWindow.incubationController()''' 0865 return QQmlIncubationController() 0866 def renderTargetSize(self): 0867 '''QSize QQuickWindow.renderTargetSize()''' 0868 return QSize() 0869 def renderTargetId(self): 0870 '''int QQuickWindow.renderTargetId()''' 0871 return int() 0872 def renderTarget(self): 0873 '''QOpenGLFramebufferObject QQuickWindow.renderTarget()''' 0874 return QOpenGLFramebufferObject() 0875 def setRenderTarget(self, fbo): 0876 '''void QQuickWindow.setRenderTarget(QOpenGLFramebufferObject fbo)''' 0877 def setRenderTarget(self, fboId, size): 0878 '''void QQuickWindow.setRenderTarget(int fboId, QSize size)''' 0879 def grabWindow(self): 0880 '''QImage QQuickWindow.grabWindow()''' 0881 return QImage() 0882 def sendEvent(self): 0883 '''QEvent QQuickWindow.sendEvent()''' 0884 return QEvent() 0885 def mouseGrabberItem(self): 0886 '''QQuickItem QQuickWindow.mouseGrabberItem()''' 0887 return QQuickItem() 0888 def focusObject(self): 0889 '''QObject QQuickWindow.focusObject()''' 0890 return QObject() 0891 def activeFocusItem(self): 0892 '''QQuickItem QQuickWindow.activeFocusItem()''' 0893 return QQuickItem() 0894 def contentItem(self): 0895 '''QQuickItem QQuickWindow.contentItem()''' 0896 return QQuickItem() 0897 class CreateTextureOptions(): 0898 """""" 0899 def __init__(self): 0900 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__init__()''' 0901 return QQuickWindow.CreateTextureOptions() 0902 def __init__(self): 0903 '''int QQuickWindow.CreateTextureOptions.__init__()''' 0904 return int() 0905 def __init__(self): 0906 '''void QQuickWindow.CreateTextureOptions.__init__()''' 0907 def __bool__(self): 0908 '''int QQuickWindow.CreateTextureOptions.__bool__()''' 0909 return int() 0910 def __ne__(self, f): 0911 '''bool QQuickWindow.CreateTextureOptions.__ne__(QQuickWindow.CreateTextureOptions f)''' 0912 return bool() 0913 def __eq__(self, f): 0914 '''bool QQuickWindow.CreateTextureOptions.__eq__(QQuickWindow.CreateTextureOptions f)''' 0915 return bool() 0916 def __invert__(self): 0917 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__invert__()''' 0918 return QQuickWindow.CreateTextureOptions() 0919 def __and__(self, mask): 0920 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__and__(int mask)''' 0921 return QQuickWindow.CreateTextureOptions() 0922 def __xor__(self, f): 0923 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__xor__(QQuickWindow.CreateTextureOptions f)''' 0924 return QQuickWindow.CreateTextureOptions() 0925 def __xor__(self, f): 0926 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__xor__(int f)''' 0927 return QQuickWindow.CreateTextureOptions() 0928 def __or__(self, f): 0929 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__or__(QQuickWindow.CreateTextureOptions f)''' 0930 return QQuickWindow.CreateTextureOptions() 0931 def __or__(self, f): 0932 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__or__(int f)''' 0933 return QQuickWindow.CreateTextureOptions() 0934 def __int__(self): 0935 '''int QQuickWindow.CreateTextureOptions.__int__()''' 0936 return int() 0937 def __ixor__(self, f): 0938 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__ixor__(QQuickWindow.CreateTextureOptions f)''' 0939 return QQuickWindow.CreateTextureOptions() 0940 def __ior__(self, f): 0941 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__ior__(QQuickWindow.CreateTextureOptions f)''' 0942 return QQuickWindow.CreateTextureOptions() 0943 def __iand__(self, mask): 0944 '''QQuickWindow.CreateTextureOptions QQuickWindow.CreateTextureOptions.__iand__(int mask)''' 0945 return QQuickWindow.CreateTextureOptions() 0946 0947 0948 class QQuickView(QQuickWindow): 0949 """""" 0950 # Enum QQuickView.Status 0951 Null = 0 0952 Ready = 0 0953 Loading = 0 0954 Error = 0 0955 0956 # Enum QQuickView.ResizeMode 0957 SizeViewToRootObject = 0 0958 SizeRootObjectToView = 0 0959 0960 def __init__(self, parent = None): 0961 '''void QQuickView.__init__(QWindow parent = None)''' 0962 def __init__(self, engine, parent): 0963 '''void QQuickView.__init__(QQmlEngine engine, QWindow parent)''' 0964 def __init__(self, source, parent = None): 0965 '''void QQuickView.__init__(QUrl source, QWindow parent = None)''' 0966 def mouseMoveEvent(self): 0967 '''QMouseEvent QQuickView.mouseMoveEvent()''' 0968 return QMouseEvent() 0969 def mouseReleaseEvent(self): 0970 '''QMouseEvent QQuickView.mouseReleaseEvent()''' 0971 return QMouseEvent() 0972 def mousePressEvent(self): 0973 '''QMouseEvent QQuickView.mousePressEvent()''' 0974 return QMouseEvent() 0975 def keyReleaseEvent(self): 0976 '''QKeyEvent QQuickView.keyReleaseEvent()''' 0977 return QKeyEvent() 0978 def keyPressEvent(self): 0979 '''QKeyEvent QQuickView.keyPressEvent()''' 0980 return QKeyEvent() 0981 def timerEvent(self): 0982 '''QTimerEvent QQuickView.timerEvent()''' 0983 return QTimerEvent() 0984 def resizeEvent(self): 0985 '''QResizeEvent QQuickView.resizeEvent()''' 0986 return QResizeEvent() 0987 statusChanged = pyqtSignal() # void statusChanged(QQuickView::Status) - signal 0988 def setSource(self): 0989 '''QUrl QQuickView.setSource()''' 0990 return QUrl() 0991 def initialSize(self): 0992 '''QSize QQuickView.initialSize()''' 0993 return QSize() 0994 def errors(self): 0995 '''list-of-QQmlError QQuickView.errors()''' 0996 return [QQmlError()] 0997 def status(self): 0998 '''QQuickView.Status QQuickView.status()''' 0999 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 1020 class 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 1112 class 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 1185 class 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 1261 class 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 1281 class 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 1448 class 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 1578 class QSGMaterialType(): 1579 """""" 1580 def __init__(self): 1581 '''void QSGMaterialType.__init__()''' 1582 def __init__(self): 1583 '''QSGMaterialType QSGMaterialType.__init__()''' 1584 return QSGMaterialType() 1585 1586 1587 class 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 1768 class 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 1777 class 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 1793 class 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 1810 class 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 1821 class 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 1832 class 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 1852 class 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 1946 class 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 2009 class 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 2018 class 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 2058 class 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 2070 class 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 2080 class 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