3 import com.nokia.meego 1.1
9 property alias value: scene.value
11 iconSource: sceneIcon(scene.value);
13 title: qsTr("Scene mode");
22 function sceneIcon(val) {
23 var x = row.children.length;
25 for (i = 0; i < x; i++) {
26 if (row.children[i].value == val) {
27 return row.children[i].normalIcon;
34 height: button.checked ? 64 : 0
35 width: button.checked ? (children.length * height) + (children.length - 1) * spacing : 0
39 // TODO: seems animation is not working
40 PropertyAnimation { duration: 250; }
44 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-auto.png"
45 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-auto-selected.png"
51 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-macro.png"
52 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-macro-selected.png"
58 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-landscape.png"
59 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-landscape-selected.png"
61 value: Scene.Landscape
65 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-portrait.png"
66 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-portrait-selected.png"
72 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-night.png"
73 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-night-selected.png"
79 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-sports.png"
80 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-scene-sports-selected.png"