3 import com.nokia.meego 1.1
10 policyMode: CameraResources.Image
11 controlsVisible: capture.visible && cam.running && !standbyWidget.visible
15 anchors.right: parent.right
16 anchors.rightMargin: 20
17 anchors.verticalCenter: parent.verticalCenter
18 iconSource: "image://theme/icon-m-camera-shutter"
23 if (!fileSystem.available) {
24 showError(qsTr("Camera cannot capture images in mass storage mode."));
26 else if (!imageMode.capture(fileNaming.imageFileName())) {
27 showError(qsTr("Failed to capture image. Please restart the camera."));
31 visible: imageMode.canCapture && !cameraMode.animationRunning && !previewAnimationRunning && cam.running
37 onPreviewAvailable: page.setPreview(preview);
42 visible: controlsVisible
43 anchors.top: parent.top
44 anchors.left: parent.left
46 anchors.leftMargin: 20
51 visible: controlsVisible
52 anchors.top: flash.bottom
53 anchors.left: parent.left
55 anchors.leftMargin: 20
60 visible: controlsVisible
61 anchors.top: scene.bottom
62 anchors.left: parent.left
64 anchors.leftMargin: 20
68 visible: controlsVisible
69 anchors.bottom: parent.bottom
70 anchors.bottomMargin: 20
71 anchors.left: parent.left
72 anchors.leftMargin: 20
74 onClicked: openFile("ImageSettingsPage.qml");
82 anchors.top: parent.top
83 anchors.right: parent.right
85 anchors.rightMargin: 20
90 iconSource: "image://theme/icon-m-camera-roll"
91 onClicked: openFile("PostCapturePage.qml");
92 visible: controlsVisible