source: "image://theme/" + cameraTheme.isoIcon(settings.imageIso)
}
+ Indicator {
+ id: sceneIndicator
+ visible: settings.imageSceneMode != Scene.Auto
+ source: visible ? "image://theme/" + cameraTheme.imageSceneModeIndicatorIcon(settings.imageSceneMode) : ""
+ }
+
Indicator {
id: gpsIndicator
visible: settings.useGps
visible: settings.videoColorFilter != ColorTone.Normal
}
+ Indicator {
+ id: sceneIndicator
+ visible: settings.videoSceneMode != Scene.Auto
+ source: visible ? "image://theme/" + cameraTheme.videoSceneModeIndicatorIcon(settings.videoSceneMode) : ""
+ }
+
Indicator {
id: gpsIndicator
visible: settings.useGps
return colorFilterIcon(val) + "-screen"
}
}
-}
\ No newline at end of file
+
+ function imageSceneModeIndicatorIcon(val) {
+ if (val == Scene.Auto) {
+ return ""
+ } else {
+ return imageSceneModeIcon(val) + "-screen"
+ }
+ }
+
+ function videoSceneModeIndicatorIcon(val) {
+ if (val == Scene.Auto) {
+ return ""
+ } else {
+ return videoSceneModeIcon(val) + "-screen"
+ }
+ }
+}