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 // TODO: Show an error if file is empty or starting fails.
25 videoMode.startRecording(fileNaming.videoFileName());
28 videoMode.stopRecording();
32 visible: (videoMode.recording || videoMode.canCapture) && !cameraMode.animationRunning && !previewAnimationRunning && !standbyWidget.visible
36 target: platformWindow
38 if (!platformWindow.active && videoMode.recording) {
39 videoMode.stopRecording();
48 if (!standbyWidget.visible) {
49 page.setPreview(preview);
56 visible: controlsVisible
57 anchors.top: parent.top
58 anchors.left: parent.left
60 anchors.leftMargin: 20
66 visible: controlsVisible && !videoMode.recording
67 anchors.top: torch.bottom
68 anchors.left: parent.left
70 anchors.leftMargin: 20
75 visible: controlsVisible
76 anchors.top: scene.bottom
77 anchors.left: parent.left
79 anchors.leftMargin: 20