depending on the availability of resolutions and/or aspect ratios
for a selected device.
SectionHeader {
text: qsTr("Aspect ratio")
+ visible: aspectRatioRow.visible
}
CameraButtonRow {
width: parent.width
enabled: camera ? camera.idle : false
exclusive: false
+ visible: imageSettings.aspectRatioCount > 1
Repeater {
model: imageSettings.aspectRatios
SectionHeader {
text: qsTr("Resolution")
+ visible: resolutionsRow.visible
}
CameraButtonRow {
width: parent.width
enabled: camera ? camera.idle : false
exclusive: false
+ visible: imageSettings.resolutions.count > 1
Binding {
target: imageSettings.resolutions
spacing: 10
+ visible: videoSettings.resolutions.count > 1
+
SectionHeader {
text: qsTr("Resolution")
}