3 import com.nokia.meego 1.1
5 import "data.js" as Data
9 property Camera cam: null
14 height: row.height + title.height + 30
15 anchors.bottom: toolBar.top
20 anchors.top: parent.top
22 text: qsTr("Color filter");
27 anchors.left: parent.left
28 anchors.right: parent.right
29 anchors.leftMargin: 20
30 anchors.rightMargin: 20
31 anchors.top: title.bottom
35 width: parent.width / 6
36 normalIcon: "image://theme/" + Data.cfIcon(value);
37 checkedIcon: "image://theme/" + Data.cfSelectedIcon(value);
38 value: ColorTone.Normal
39 savedValue: settings.imageColorFilter
40 onClicked: settings.imageColorFilter = value;
41 text: Data.cfName(value);
45 width: parent.width / 6
46 normalIcon: "image://theme/" + Data.cfIcon(value);
47 checkedIcon: "image://theme/" + Data.cfSelectedIcon(value);
48 value: ColorTone.GrayScale
49 savedValue: settings.imageColorFilter
50 onClicked: settings.imageColorFilter = value;
51 text: Data.cfName(value);
55 width: parent.width / 6
56 normalIcon: "image://theme/" + Data.cfIcon(value);
57 checkedIcon: "image://theme/" + Data.cfSelectedIcon(value);
58 value: ColorTone.Sepia
59 savedValue: settings.imageColorFilter
60 onClicked: settings.imageColorFilter = value;
61 text: Data.cfName(value);
65 width: parent.width / 6
66 normalIcon: "image://theme/" + Data.cfIcon(value);
67 checkedIcon: "image://theme/" + Data.cfSelectedIcon(value);
68 value: ColorTone.Vivid
69 savedValue: settings.imageColorFilter
70 onClicked: settings.imageColorFilter = value;
71 text: Data.cfName(value);
75 width: parent.width / 6
76 normalIcon: "image://theme/" + Data.cfIcon(value);
77 checkedIcon: "image://theme/" + Data.cfSelectedIcon(value);
78 value: ColorTone.Negative
79 savedValue: settings.imageColorFilter
80 onClicked: settings.imageColorFilter = value;
81 text: Data.cfName(value);
85 width: parent.width / 6
86 normalIcon: "image://theme/" + Data.cfIcon(value);
87 checkedIcon: "image://theme/" + Data.cfSelectedIcon(value);
88 value: ColorTone.Solarize
89 savedValue: settings.imageColorFilter
90 onClicked: settings.imageColorFilter = value;
91 text: Data.cfName(value);
98 anchors.bottom: parent.bottom
99 tools: ToolBarLayout {
101 ToolIcon { iconId: "icon-m-toolbar-back"; onClicked: pageStack.pop(); }