return;
}
- if (!checkDiskSpace()) {
- showError(qsTr("Not enough space to capture images."));
+ if (!fileSystem.available) {
+ showError(qsTr("Camera cannot capture images in mass storage mode."));
return;
}
- if (!fileSystem.available) {
- showError(qsTr("Camera cannot capture images in mass storage mode."));
+ if (!checkDiskSpace()) {
+ showError(qsTr("Not enough space to capture images."));
return;
}
height: 75
opacity: 0.5
onClicked: captureImage();
- visible: imageMode.canCapture && !cameraMode.animationRunning && !previewAnimationRunning && cam.running
+ visible: imageMode.canCapture && !cameraMode.busy && dimmer.opacity == 0.0 && !previewAnimationRunning && cam.running
onExited: {
if (mouseX <= 0 || mouseY <= 0 || mouseX > width || mouseY > height) {
alwaysRunToEnd: true
}
}
+
+ Indicator {
+ id: faceDetectionIndicator
+ visible: settings.faceDetectionEnabled
+ source: "image://theme/icon-m-camera-face-detection-screen"
+ }
+
}
}
ImageColorFilterButton {
onClicked: toolBar.push(items);
},
+ ImageIsoButton {
+ onClicked: toolBar.push(items);
+ },
ToolIcon {
iconSource: "image://theme/icon-m-toolbar-view-menu-white"
- onClicked: openFile("ImageSettingsPage.qml");
+ onClicked: imageSettingsDialog.open();
}
]
}
+
+ ImageSettingsDialog {
+ id: imageSettingsDialog
+ }
}