3 import com.nokia.meego 1.1
9 controlsVisible: recording.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) {
25 videoMode.startRecording("/home/developer/foo.mp4");
28 videoMode.stopRecording();
32 visible: (videoMode.recording || videoMode.canCapture) && !cameraMode.animationRunning && !previewAnimationRunning
38 onPreviewAvailable: page.setPreview(preview);
43 visible: controlsVisible
44 anchors.top: parent.top
45 anchors.left: parent.left
47 anchors.leftMargin: 20
53 visible: controlsVisible && !videoMode.recording
54 anchors.top: torch.bottom
55 anchors.left: parent.left
57 anchors.leftMargin: 20
62 visible: controlsVisible
63 anchors.top: scene.bottom
64 anchors.left: parent.left
66 anchors.leftMargin: 20