summaryrefslogtreecommitdiff
path: root/src/qcam/assets
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-05 16:02:05 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-14 12:34:36 +0000
commit0f292e7821b809df77de443dd30148a609cc4f49 (patch)
treec5459a79c7f327a3f9f06f513d6378e376ee9bd0 /src/qcam/assets
parent2dc85eabe1d9e9946f39692ea9a3bf1bb635bbcc (diff)
qcam: Provide save image functionality
Implement a save image button on the toolbar which will take a current viewfinder image and present the user with a QFileDialog to allow them to choose where to save the image. Utilise the QImageWriter to perform the output task. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets')
-rw-r--r--src/qcam/assets/feathericons/feathericons.qrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcam/assets/feathericons/feathericons.qrc b/src/qcam/assets/feathericons/feathericons.qrc
index b8e5c226..6ca3a846 100644
--- a/src/qcam/assets/feathericons/feathericons.qrc
+++ b/src/qcam/assets/feathericons/feathericons.qrc
@@ -1,6 +1,7 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>./play-circle.svg</file>
+<file>./save.svg</file>
<file>./stop-circle.svg</file>
<file>./x-circle.svg</file>
</qresource>