3 import com.nokia.meego 1.1
10 controlsVisible: recording.visible && cam.running && !standbyWidget.visible
12 orientationLock: PageOrientation.LockLandscape
15 inhibitDim: videoMode.recording
20 anchors.right: parent.right
21 anchors.rightMargin: 20
22 anchors.verticalCenter: parent.verticalCenter
23 iconSource: "image://theme/icon-m-camera-video-record"
28 if (!videoMode.recording) {
29 if (!fileSystem.available) {
30 showError(qsTr("Camera cannot record videos in mass storage mode."));
32 else if (!videoMode.startRecording(fileNaming.videoFileName())) {
33 showError(qsTr("Failed to record video. Please restart the camera."));
37 videoMode.stopRecording();
41 visible: (videoMode.recording || videoMode.canCapture) && !cameraMode.animationRunning && !previewAnimationRunning && !standbyWidget.visible
45 target: platformWindow
47 if (!platformWindow.active && videoMode.recording) {
48 videoMode.stopRecording();
57 if (!standbyWidget.visible) {
58 page.setPreview(preview);
65 visible: controlsVisible
66 anchors.top: parent.top
67 anchors.left: parent.left
69 anchors.leftMargin: 20
75 visible: controlsVisible && !videoMode.recording
76 anchors.top: torch.bottom
77 anchors.left: parent.left
79 anchors.leftMargin: 20
84 visible: controlsVisible
85 anchors.top: scene.bottom
86 anchors.left: parent.left
88 anchors.leftMargin: 20
93 anchors.top: parent.top
94 anchors.right: parent.right
96 anchors.rightMargin: 20
101 iconSource: "image://theme/icon-m-camera-roll"
102 onClicked: openFile("PostCapturePage.qml");
103 visible: controlsVisible && !videoMode.recording