summaryrefslogtreecommitdiffstats
path: root/basicsuite/Camera/Controls.qml
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@digia.com>2013-10-10 16:47:32 +0200
committerGatis Paeglis <gatis.paeglis@digia.com>2013-10-14 11:49:23 +0300
commited36c5f65fb243098a6351abea3a00ba9caa1dcd (patch)
tree7d37c598e4ee4a15a8408c953b5dd652e7a50872 /basicsuite/Camera/Controls.qml
parent9c48ce0535c7a89e32a4b0f932dc3f61e973018a (diff)
[Camera example] save captured images to /data/images
This allows a user to browse through the photos from the "Photo Gallery" example. "Photo Gallery" looks for images in /data/images. Disable "video recording feature". Change-Id: Ib7c4d123c0e2fa5f9283dba3131e4accd576054b Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'basicsuite/Camera/Controls.qml')
-rw-r--r--basicsuite/Camera/Controls.qml42
1 files changed, 21 insertions, 21 deletions
diff --git a/basicsuite/Camera/Controls.qml b/basicsuite/Camera/Controls.qml
index 63f750b..7f5e82d 100644
--- a/basicsuite/Camera/Controls.qml
+++ b/basicsuite/Camera/Controls.qml
@@ -5,7 +5,7 @@ Item {
id: controlsRoot
anchors.fill: parent
- property alias cameraMode: cameraModeControl.selectedValue
+// property alias cameraMode: cameraModeControl.selectedValue
property alias requestedZoom: zoomControl.requestedZoom
property alias actualZoom: zoomControl.actualZoom
@@ -37,26 +37,26 @@ Item {
anchors.bottomMargin: 50
}
- CameraSetting {
- id: cameraModeControl
- anchors.right: parent.right
- anchors.rightMargin: 20
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 20
- title: "MODE"
- model: ListModel {
- ListElement {
- name: "Picture"
- value: Camera.CaptureStillImage
- }
- ListElement {
- name: "Video"
- value: Camera.CaptureVideo
- }
- }
- onCountChanged: currentIndex = 0
- enabled: controlsRoot.captureReady
- }
+// CameraSetting {
+// id: cameraModeControl
+// anchors.right: parent.right
+// anchors.rightMargin: 20
+// anchors.bottom: parent.bottom
+// anchors.bottomMargin: 20
+// title: "MODE"
+// model: ListModel {
+// ListElement {
+// name: "Picture"
+// value: Camera.CaptureStillImage
+// }
+// ListElement {
+// name: "Video"
+// value: Camera.CaptureVideo
+// }
+// }
+// onCountChanged: currentIndex = 0
+// enabled: controlsRoot.captureReady
+// }
RecordingTime {
anchors.right: parent.right