Browse Source

Add stream selector

QGC4.4
Gus Grubba 6 years ago
parent
commit
1d6b056033
  1. 20
      src/FlightMap/Widgets/CameraPageWidget.qml

20
src/FlightMap/Widgets/CameraPageWidget.qml

@ -203,6 +203,8 @@ Column { @@ -203,6 +203,8 @@ Column {
anchors.left: parent.left
anchors.right: parent.right
spacing: _margins
//-------------------------------------------
//-- Camera Selector
Row {
visible: _isCamera
spacing: ScreenTools.defaultFontPixelWidth
@ -221,6 +223,24 @@ Column { @@ -221,6 +223,24 @@ Column {
}
}
//-------------------------------------------
//-- Stream Selector
Row {
spacing: ScreenTools.defaultFontPixelWidth
anchors.horizontalCenter: parent.horizontalCenter
QGCLabel {
text: qsTr("Stream Selector:")
width: _labelFieldWidth
anchors.verticalCenter: parent.verticalCenter
}
QGCComboBox {
model: _camera ? _camera.streamLabels : []
width: _editFieldWidth
onActivated: _camera.currentStream = index
currentIndex: _camera ? _camera.currentStream : 0
}
}
//-------------------------------------------
//-- Camera Settings
Repeater {
model: _camera ? _camera.activeSettings : []

Loading…
Cancel
Save