3 import com.nokia.meego 1.1
8 property int mode: settings.mode
9 property Camera cam: null
10 property Item dimmer: null
11 property alias animationRunning: animation.running
21 NumberAnimation { target: dimmer; property: "opacity"; from: 0; to: 1; duration: 150; alwaysRunToEnd: true }
23 PauseAnimation { duration: 50 }
26 ScriptAction { script: animation.setMode(); }
27 PauseAnimation { duration: 200 }
30 PauseAnimation { duration: 50 }
32 NumberAnimation { target: dimmer; property: "opacity"; from: 1; to: 0; duration: 150; alwaysRunToEnd: true }
39 function set(newMode) {
40 if (cam.mode == newMode) {
44 animation.mode = newMode;