QQuickItemGrabResult

The QQuickItemGrabResult contains the result from grabToImage() . More

Inheritance diagram of PySide6.QtQuick.QQuickItemGrabResult

Synopsis

Functions

Detailed Description

See also

grabToImage()

class PySide6.QtQuick.QQuickItemGrabResult
PySide6.QtQuick.QQuickItemGrabResult.image()
Return type

PySide6.QtGui.QImage

PySide6.QtQuick.QQuickItemGrabResult.ready()

This signal is emitted when the grab has completed.

PySide6.QtQuick.QQuickItemGrabResult.saveToFile(fileName)
Parameters

fileName – str

Return type

bool

Saves the grab result as an image to fileName. Returns true if successful; otherwise returns false.

Note

In Qt versions prior to 5.9, this function is marked as non-const.

PySide6.QtQuick.QQuickItemGrabResult.url()
Return type

PySide6.QtCore.QUrl