3 import com.nokia.meego 1.1
9 property alias value: flash.value
11 iconSource: flashIcon(flash.value);
20 function flashIcon(val) {
21 var x = row.children.length;
23 for (i = 0; i < x; i++) {
24 if (row.children[i].value == val) {
25 return row.children[i].normalIcon;
32 height: button.checked ? 64 : 0
33 width: button.checked ? (children.length * height) + (children.length - 1) * spacing : 0
37 // TODO: seems animation is not working
38 PropertyAnimation { duration: 250; }
42 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-auto.png"
43 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-auto-pressed.png"
49 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-always.png"
50 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-always-pressed.png"
56 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-off.png"
57 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-off-pressed.png"
63 normalIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-red-eye.png"
64 checkedIcon: "/usr/share/themes/blanco/meegotouch/icons/icon-m-camera-flash-red-eye-pressed.png"