- class QRenderCaptureReply#
Receives the result of render capture request. More…
Synopsis#
Properties#
Methods#
def
captureId()
def
image()
def
isComplete()
def
saveImage()
Signals#
def
completed()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
An object, which receives the image from QRenderCapture::requestCapture.
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property captureIdᅟ: int#
Holds the captureId, which was passed to the renderCapture.
- Access functions:
- property completeᅟ: bool#
Holds the complete state of the render capture.
- Access functions:
Signal
completed()
Holds the image, which was produced as a result of render capture.
- Access functions:
- captureId()#
- Return type:
int
Note
This function is deprecated.
Getter of property
captureIdᅟ
.- completed()#
Notification signal of property
completeᅟ
.Getter of property
imageᅟ
.- isComplete()#
- Return type:
bool
Getter of property
completeᅟ
.- saveImage(fileName)#
- Parameters:
fileName – str
- Return type:
bool
Saves the render capture result as an image to
fileName
.Returns true if the image was successfully saved; otherwise returns false.