3 import com.nokia.meego 1.1
11 text: qsTr("Camera settings");
15 text: qsTr("Show captured content");
19 anchors.horizontalCenter: parent.horizontalCenter
22 text: qsTr("Disabled");
23 checked: settings.postCaptureTimeout == 0;
24 onClicked: settings.postCaptureTimeout = 0;
28 text: qsTr("2 seconds");
29 checked: settings.postCaptureTimeout == 2;
30 onClicked: settings.postCaptureTimeout = 2;
34 text: qsTr("5 seconds");
35 checked: settings.postCaptureTimeout == 10;
36 onClicked: settings.postCaptureTimeout = 10;
40 text: qsTr("No timeout");
41 checked: settings.postCaptureTimeout == -1;
42 onClicked: settings.postCaptureTimeout = -1;
47 text: qsTr("Creator name");
51 placeholderText: qsTr("Name or copyright");
53 text: settings.creatorName
54 onTextChanged: settings.creatorName = text;
59 height: Math.max(useGpsLabel.height, useGps.height);
63 anchors.left: parent.left
64 text: qsTr("Use GPS");
69 anchors.right: parent.right
70 // We have to do it that way because QML complains about a binding
71 // loop for checked if we bind the checked property to the settings value.
72 Component.onCompleted: checked = settings.useGps;
73 onCheckedChanged: settings.useGps = checked;
79 height: Math.max(useGeotagsLabel.height, useGeotags.height);
81 // TODO: transition when hiding/showing and we should scroll a bit to show it
82 visible: useGps.checked
86 anchors.left: parent.left
87 text: qsTr("Use geotags");
92 anchors.right: parent.right
93 // We have to do it that way because QML complains about a binding
94 // loop for checked if we bind the checked property to the settings value.
95 Component.onCompleted: checked = settings.useGeotags;
96 onCheckedChanged: settings.useGeotags = checked;