Browse Source

Enable video running time and shutter count

QGC4.4
Gus Grubba 6 years ago
parent
commit
e56877b306
  1. 10
      custom-example/res/CustomCameraControl.qml

10
custom-example/res/CustomCameraControl.qml

@ -379,22 +379,20 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
} }
/*
//----------------------------------------------------------------- //-----------------------------------------------------------------
//-- Recording Time / Images Captured //-- Recording Time / Images Captured
CustomLabel { QGCLabel {
text: (_cameraVideoMode && _camera.videoStatus === QGCCameraControl.VIDEO_CAPTURE_STATUS_RUNNING) ? _camera.recordTimeStr : "00:00:00" text: (_cameraVideoMode && _camera.videoStatus === QGCCameraControl.VIDEO_CAPTURE_STATUS_RUNNING) ? _camera.recordTimeStr : "00:00:00"
visible: _cameraVideoMode visible: _cameraVideoMode
pointSize: ScreenTools.smallFontPointSize font.pointSize: ScreenTools.smallFontPointSize
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
CustomLabel { QGCLabel {
text: activeVehicle && _cameraPhotoMode ? ('00000' + activeVehicle.cameraTriggerPoints.count).slice(-5) : "00000" text: activeVehicle && _cameraPhotoMode ? ('00000' + activeVehicle.cameraTriggerPoints.count).slice(-5) : "00000"
visible: _cameraPhotoMode visible: _cameraPhotoMode
pointSize: ScreenTools.smallFontPointSize font.pointSize: ScreenTools.smallFontPointSize
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
*/
Item { Item {
height: 1 height: 1
width: 1 width: 1

Loading…
Cancel
Save