QQuickWindow¶

PyQt5.QtQuick.QQuickWindow

Inherits from QWindow.

Inherited by QQuickView.

Description¶

TODO

Enums¶

CreateTextureOption

TODO

Member

Value

Description

TextureCanUseAtlas

TODO

TODO

TextureHasAlphaChannel

TODO

TODO

TextureHasMipmaps

TODO

TODO

TextureIsOpaque

TODO

TODO

TextureOwnsGLTexture

TODO

TODO


NativeObjectType

TODO

Member

Value

Description

NativeObjectTexture

TODO

TODO


RenderStage

TODO

Member

Value

Description

AfterRenderingStage

TODO

TODO

AfterSwapStage

TODO

TODO

AfterSynchronizingStage

TODO

TODO

BeforeRenderingStage

TODO

TODO

BeforeSynchronizingStage

TODO

TODO

NoStage

TODO

TODO


SceneGraphError

TODO

Member

Value

Description

ContextNotAvailable

TODO

TODO


TextRenderType

TODO

Member

Value

Description

NativeTextRendering

TODO

TODO

QtTextRendering

TODO

TODO

Methods¶

__init__(parent: QWindow = None)

TODO


activeFocusItem() → QQuickItem

TODO


beginExternalCommands()

TODO


clearBeforeRendering() → bool

TODO


color() → QColor

TODO


contentItem() → QQuickItem

TODO


createImageNode() → QSGImageNode

TODO


createRectangleNode() → QSGRectangleNode

TODO


createTextureFromId(int, QSize, options: Union[CreateTextureOptions, CreateTextureOption] = QQuickWindow.CreateTextureOption()) → QSGTexture

TODO


createTextureFromImage(QImage) → QSGTexture

TODO


createTextureFromImage(QImage, Union[CreateTextureOptions, CreateTextureOption]) → QSGTexture

TODO


createTextureFromNativeObject(NativeObjectType, sip.voidptr, int, QSize, options: Union[CreateTextureOptions, CreateTextureOption] = QQuickWindow.CreateTextureOption()) → QSGTexture

TODO


effectiveDevicePixelRatio() → float

TODO


endExternalCommands()

TODO


event(QEvent) → bool

TODO


exposeEvent(QExposeEvent)

TODO


focusInEvent(QFocusEvent)

TODO


focusObject() → QObject

TODO


focusOutEvent(QFocusEvent)

TODO


grabWindow() → QImage

TODO


@staticmethod
hasDefaultAlphaBuffer() → bool

TODO


hideEvent(QHideEvent)

TODO


incubationController() → QQmlIncubationController

TODO


isPersistentOpenGLContext() → bool

TODO


isPersistentSceneGraph() → bool

TODO


isSceneGraphInitialized() → bool

TODO


keyPressEvent(QKeyEvent)

TODO


keyReleaseEvent(QKeyEvent)

TODO


mouseDoubleClickEvent(QMouseEvent)

TODO


mouseGrabberItem() → QQuickItem

TODO


mouseMoveEvent(QMouseEvent)

TODO


mousePressEvent(QMouseEvent)

TODO


mouseReleaseEvent(QMouseEvent)

TODO


openglContext() → QOpenGLContext

TODO


releaseResources()

TODO


rendererInterface() → QSGRendererInterface

TODO


renderTarget() → QOpenGLFramebufferObject

TODO


renderTargetId() → int

TODO


renderTargetSize() → QSize

TODO


resetOpenGLState()

TODO


resizeEvent(QResizeEvent)

TODO


@staticmethod
sceneGraphBackend() → str

TODO


scheduleRenderJob(QRunnable, RenderStage)

TODO


sendEvent(QQuickItem, QEvent) → bool

TODO


setClearBeforeRendering(bool)

TODO


setColor(Union[QColor, GlobalColor])

TODO


@staticmethod
setDefaultAlphaBuffer(bool)

TODO


setPersistentOpenGLContext(bool)

TODO


setPersistentSceneGraph(bool)

TODO


setRenderTarget(QOpenGLFramebufferObject)

TODO


setRenderTarget(int, QSize)

TODO


@staticmethod
setSceneGraphBackend(GraphicsApi)

TODO


@staticmethod
setSceneGraphBackend(str)

TODO


@staticmethod
setTextRenderType(TextRenderType)

TODO


showEvent(QShowEvent)

TODO


@staticmethod
textRenderType() → TextRenderType

TODO


update()

TODO


wheelEvent(QWheelEvent)

TODO

Signals¶

activeFocusItemChanged()

TODO


afterAnimating()

TODO


afterRendering()

TODO


afterRenderPassRecording()

TODO


afterSynchronizing()

TODO


beforeRendering()

TODO


beforeRenderPassRecording()

TODO


beforeSynchronizing()

TODO


closing(QQuickCloseEvent)

TODO


colorChanged(Union[QColor, GlobalColor])

TODO


frameSwapped()

TODO


openglContextCreated(QOpenGLContext)

TODO


sceneGraphAboutToStop()

TODO


sceneGraphError(SceneGraphError, str)

TODO


sceneGraphInitialized()

TODO


sceneGraphInvalidated()

TODO