| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Disallow multiple simultanious captures.
Task-number: QTBUG-59456
Change-Id: Ice7cb854a9a7090664ff5a24f332cb28eba6359e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Juan José Casafranca
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
|
|
|
| |
QRenderCapture::saveToFile() does not return success/failure. Returning this
properly means we don't have to verify success somehow. So add a new method
called saveImage() to return the information, and deprecate saveToFile().
Change-Id: I7cf6639d90baa8bce8b90ee795d953a021de7978
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't need the captureId in the public API so deprecate the functions
which make it appear and create overloads with no such id when
appropriate. Only a pointer to a QRenderCaptureReply is needed to
represent a capture request.
Also the "isCompleted" parameter is unneeded on the signal since it is
always true anyway. If we'd want to do error management it would go via
a status flag property or similar.
Change-Id: I9571ece3e3f82f46db5b3993ccf035e770c9d55e
Task-Id: QTBUG-58877
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I53e040b84fa9fcc8ecec34c85d93da780b0e97ae
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
Add example for the render capture. The example is based on simple-cpp.
The user can press the capture button and see the captured thumbnail on
the side.
Change-Id: I94b18722cb0b563469579b4fad87764f37ad075e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|