3 import com.nokia.meego 1.1
9 controlsVisible: recording.visible && cam.running && !standbyWidget.visible
11 orientationLock: PageOrientation.LockLandscape
15 anchors.right: parent.right
16 anchors.rightMargin: 20
17 anchors.verticalCenter: parent.verticalCenter
18 iconSource: "image://theme/icon-m-camera-video-record"
23 if (!videoMode.recording) {
24 if (!videoMode.startRecording(fileNaming.videoFileName())) {
25 showError("Failed to record video. Please restart the camera.");
29 videoMode.stopRecording();
33 visible: (videoMode.recording || videoMode.canCapture) && !cameraMode.animationRunning && !previewAnimationRunning && !standbyWidget.visible
37 target: platformWindow
39 if (!platformWindow.active && videoMode.recording) {
40 videoMode.stopRecording();
49 if (!standbyWidget.visible) {
50 page.setPreview(preview);
57 visible: controlsVisible
58 anchors.top: parent.top
59 anchors.left: parent.left
61 anchors.leftMargin: 20
67 visible: controlsVisible && !videoMode.recording
68 anchors.top: torch.bottom
69 anchors.left: parent.left
71 anchors.leftMargin: 20
76 visible: controlsVisible
77 anchors.top: scene.bottom
78 anchors.left: parent.left
80 anchors.leftMargin: 20