7import QGroundControl.Controls
8import QGroundControl.FactControls
9import QGroundControl.FlightMap
11TransectStyleComplexItemEditor {
12 transectAreaDefinitionComplete: _missionItem.corridorPolyline.isValid
13 transectAreaDefinitionHelp: qsTr("Use the Polyline Tools to create the polyline which defines the corridor.")
14 transectValuesHeaderName: qsTr("Corridor")
15 transectValuesComponent: _transectValuesComponent
16 presetsTransectValuesComponent: _transectValuesComponent
18 property real _margin: ScreenTools.defaultFontPixelWidth / 2
19 property var _missionItem: missionItem
22 id: _transectValuesComponent
25 columnSpacing: _margin
29 QGCLabel { text: qsTr("Width") }
31 fact: _missionItem.corridorWidth
32 Layout.fillWidth: true
36 text: qsTr("Turnaround dist")
40 fact: _missionItem.turnAroundDistance
41 Layout.fillWidth: true
47 text: qsTr("Images in turnarounds")
48 fact: _missionItem.cameraTriggerInTurnAround
49 enabled: _missionItem.hoverAndCaptureAllowed ? !_missionItem.hoverAndCapture.rawValue : true