5import QGroundControl.Controls
8 spacing: ScreenTools.defaultFontHeight / 2
10 property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
11 property var _buttonTitles: [qsTr("Release"), qsTr("Grab"), qsTr("Hold")]
12 property var _buttonActions: [QGCMAVLink.GripperActionRelease, QGCMAVLink.GripperActionGrab, QGCMAVLink.GripperActionHold]
18 Layout.fillWidth: true
19 text: _buttonTitles[index]
22 _activeVehicle.sendGripperAction(_buttonActions[index])