3 import com.nokia.meego 1.1
6 import "data.js" as Data
11 policyMode: CameraResources.Image
12 controlsVisible: capture.visible && cam.running && !standbyWidget.visible
16 anchors.right: parent.right
17 anchors.rightMargin: 20
18 anchors.verticalCenter: parent.verticalCenter
19 iconSource: "image://theme/icon-m-camera-shutter"
24 if (!fileSystem.available) {
25 showError(qsTr("Camera cannot capture images in mass storage mode."));
29 metaData.setMetaData();
31 if (!imageMode.capture(fileNaming.imageFileName())) {
32 showError(qsTr("Failed to capture image. Please restart the camera."));
36 visible: imageMode.canCapture && !cameraMode.animationRunning && !previewAnimationRunning && cam.running
42 onPreviewAvailable: page.setPreview(preview);
47 visible: controlsVisible
48 anchors.top: parent.top
49 anchors.left: parent.left
51 anchors.leftMargin: 20
56 visible: controlsVisible
57 anchors.top: flash.bottom
58 anchors.left: parent.left
60 anchors.leftMargin: 20
65 visible: controlsVisible
66 anchors.top: scene.bottom
67 anchors.left: parent.left
69 anchors.leftMargin: 20
73 visible: controlsVisible
74 anchors.bottom: parent.bottom
75 anchors.bottomMargin: 20
76 anchors.left: parent.left
77 anchors.leftMargin: 20
79 onClicked: openFile("ImageSettingsPage.qml");
82 id: resolutionIndicator
88 anchors.top: resolutionIndicator.bottom
89 source: "image://theme/" + Data.wbIcon(settings.imageWhiteBalance) + "-screen"
90 visible: settings.imageWhiteBalance != WhiteBalance.Auto
95 anchors.top: wbIndicator.bottom
96 source: "image://theme/" + Data.cfIcon(settings.imageColorFilter) + "-screen"
97 visible: settings.imageColorFilter != ColorTone.Normal
102 visible: settings.imageIso != 0
103 source: "image://theme/" + Data.isoIcon(settings.imageIso);
104 anchors.top: cfIndicator.bottom
109 anchors.top: isoIndicator.bottom
110 visible: settings.useGps
111 source: "image://theme/icon-m-camera-location"
113 PropertyAnimation on opacity {
114 easing.type: Easing.OutSine
115 loops: Animation.Infinite
119 running: settings.useGps && !positionSource.position.longitudeValid
127 anchors.top: parent.top
128 anchors.right: parent.right
129 anchors.topMargin: 20
130 anchors.rightMargin: 20
135 iconSource: "image://theme/icon-m-camera-roll"
136 onClicked: openFile("PostCapturePage.qml");
137 visible: controlsVisible