IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

RenderCaptureReply QML Type

Receives render capture result.

This type was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RenderCaptureReply QML Type▲

Detailed Description▲

 

Property Documentation▲

 

[read-only] captureId : int▲

Holds the captureId, which was passed to the renderCapture.

[read-only] complete : bool▲

Holds the complete state of the render capture.

[read-only] image : variant▲

Holds the image, which was produced as a result of render capture.

Method Documentation▲

 

[since 5.9] bool saveImage(fileName)▲

Saves the render capture result as an image to fileName. Returns true if the image was successfully saved; otherwise returns false.

This method was introduced in Qt 5.9.

Obsolete Members for RenderCaptureReply▲

The following members of QML type RenderCaptureReply are deprecated. We strongly advise against using them in new code.

Obsolete Method Documentation▲

 
void saveToFile(fileName)▲

This method is deprecated. We strongly advise against using it in new code.

Saves the render capture result as an image to fileName.

Deprecated in 5.9. Use saveImage().

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+