3 import com.nokia.meego 1.1
9 controlsVisible: capture.visible && cam.running && !standbyWidget.visible
13 anchors.right: parent.right
14 anchors.rightMargin: 20
15 anchors.verticalCenter: parent.verticalCenter
16 iconSource: "image://theme/icon-m-camera-shutter"
21 if (!fileSystem.available) {
22 showError(qsTr("Camera cannot capture images in mass storage mode."));
24 else if (!imageMode.capture(fileNaming.imageFileName())) {
25 showError(qsTr("Failed to capture image. Please restart the camera."));
29 visible: imageMode.canCapture && !cameraMode.animationRunning && !previewAnimationRunning
35 onPreviewAvailable: page.setPreview(preview);
40 visible: controlsVisible
41 anchors.top: parent.top
42 anchors.left: parent.left
44 anchors.leftMargin: 20
49 visible: controlsVisible
50 anchors.top: flash.bottom
51 anchors.left: parent.left
53 anchors.leftMargin: 20
58 visible: controlsVisible
59 anchors.top: scene.bottom
60 anchors.left: parent.left
62 anchors.leftMargin: 20
66 visible: controlsVisible
67 anchors.bottom: parent.bottom
68 anchors.bottomMargin: 20
69 anchors.left: parent.left
70 anchors.leftMargin: 20
72 onClicked: openFile("ImageSettingsPage.qml");
80 anchors.top: parent.top
81 anchors.right: parent.right
83 anchors.rightMargin: 20
88 iconSource: "image://theme/icon-m-camera-roll"
89 onClicked: openFile("PostCapturePage.qml");
90 visible: controlsVisible