Obsolete Members for RenderCapture

I seguenti membri del tipo QML RenderCapture sono deprecati. Sono forniti per garantire il funzionamento del codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel nuovo codice.

Metodi

Documentazione sui metodi

[deprecated] RenderCaptureReply requestCapture(int captureId)

Questo metodo è deprecato. Si sconsiglia vivamente di utilizzarlo nel codice nuovo.

Utilizzato per richiedere l'acquisizione del rendering. L'utente può specificare un ` captureId ` per identificare la richiesta. Il `requestId` non deve necessariamente essere univoco. Per ogni chiamata a `requestCapture` viene generato un solo risultato di acquisizione del rendering, anche se il grafico dei fotogrammi presenta più nodi foglia. La funzione restituisce un oggetto `QRenderCaptureReply`, che riceve l'immagine acquisita al termine dell'operazione. L'utente è responsabile della deallocazione dell'oggetto restituito.


© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.