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-video-night.png"
52 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-video-night-selected.png"