3 import com.nokia.meego 1.1
8 property alias standbyWidget: standby
12 // TODO: fade out transition
13 // TODO: there is a toolbar visible on the first startup
17 visible: !platformWindow.active
19 source: "image://theme/icon-l-camera-standby"
20 anchors.centerIn: parent
24 property Camera cam: null
25 property bool controlsVisible: cam.running && !standby.visible
29 property alias previewAnimationRunning: preview.animationRunning
31 function setPreview(image) {
32 preview.setPreview(image);
36 anchors.bottom: parent.bottom
37 anchors.right: parent.right
38 anchors.rightMargin: 20
39 anchors.bottomMargin: 20
49 anchors.top: parent.top
51 anchors.horizontalCenter: parent.horizontalCenter
52 visible: controlsVisible