visible: controlsVisible
expanded: settings.showToolBar
onExpandedChanged: settings.showToolBar = expanded
- items: [
+ tools: CameraToolBarTools {
FlashButton {
- onClicked: toolBar.push(items)
- },
+ onClicked: toolBar.push(tools)
+ }
+
ImageSceneButton {
- onClicked: toolBar.push(items)
- },
+ onClicked: toolBar.push(tools)
+ }
+
ImageEvCompButton {
- onClicked: toolBar.push(items)
- },
+ onClicked: toolBar.push(tools)
+ }
+
ImageWhiteBalanceButton {
- onClicked: toolBar.push(items)
- },
+ onClicked: toolBar.push(tools)
+ }
+
ImageColorFilterButton {
- onClicked: toolBar.push(items)
- },
+ onClicked: toolBar.push(tools)
+ }
+
ImageIsoButton {
- onClicked: toolBar.push(items)
+ onClicked: toolBar.push(tools)
}
- ]
+ }
}
Rectangle {
width: parent.width
spacing: 5
+ Indicator {
+ id: flashIndicator
+ source: "image://theme/" + Data.flashIcon(settings.imageFlashMode) + "-screen"
+ }
+
Indicator {
id: resolutionIndicator
- source: "image://theme/" + Data.imageIcon(settings.imageAspectRatio, settings.imageResolution)
+ property string imageAspectRatio: settings.device == 1 ? settings.secondaryImageAspectRatio : settings.primaryImageAspectRatio
+ property string imageResolution: settings.device == 1 ? settings.secondaryImageResolution : settings.primaryImageResolution
+ source: "image://theme/" + Data.imageIcon(imageAspectRatio, imageResolution)
}
Indicator {