diff --git a/qgroundcontrol.qrc b/qgroundcontrol.qrc
index ce7371c..dd06a03 100644
--- a/qgroundcontrol.qrc
+++ b/qgroundcontrol.qrc
@@ -125,6 +125,7 @@
src/QmlControls/SliderSwitch.qml
src/QmlControls/SubMenuButton.qml
src/PlanView/SurveyMapVisual.qml
+ src/PlanView/TransectStyleComplexItemStats.qml
src/QmlControls/ToolStrip.qml
src/QmlControls/VehicleRotationCal.qml
src/QmlControls/VehicleSummaryRow.qml
diff --git a/src/PlanView/CorridorScanEditor.qml b/src/PlanView/CorridorScanEditor.qml
index 7540865..04b0c48 100644
--- a/src/PlanView/CorridorScanEditor.qml
+++ b/src/PlanView/CorridorScanEditor.qml
@@ -189,16 +189,6 @@ Rectangle {
text: qsTr("Statistics")
}
- Grid {
- columns: 2
- columnSpacing: ScreenTools.defaultFontPixelWidth
- visible: statsHeader.checked
-
- QGCLabel { text: qsTr("Photo count") }
- QGCLabel { text: missionItem.cameraShots }
-
- QGCLabel { text: qsTr("Photo interval") }
- QGCLabel { text: missionItem.timeBetweenShots.toFixed(1) + " " + qsTr("secs") }
- }
+ TransectStyleComplexItemStats { }
} // Column
} // Rectangle
diff --git a/src/PlanView/TransectStyleComplexItemStats.qml b/src/PlanView/TransectStyleComplexItemStats.qml
new file mode 100644
index 0000000..0dec0c1
--- /dev/null
+++ b/src/PlanView/TransectStyleComplexItemStats.qml
@@ -0,0 +1,30 @@
+import QtQuick 2.3
+import QtQuick.Controls 1.2
+
+import QGroundControl 1.0
+import QGroundControl.ScreenTools 1.0
+import QGroundControl.Controls 1.0
+
+// Statistics section for TransectStyleComplexItems
+Grid {
+ // The following properties must be available up the hierarchy chain
+ //property var missionItem ///< Mission Item for editor
+
+ anchors.left: parent.left
+ anchors.right: parent.right
+ columns: 2
+ columnSpacing: ScreenTools.defaultFontPixelWidth
+ visible: statsHeader.checked
+
+ QGCLabel { text: qsTr("Survey Area") }
+ QGCLabel { text: QGroundControl.squareMetersToAppSettingsAreaUnits(missionItem.coveredArea).toFixed(2) + " " + QGroundControl.appSettingsAreaUnitsString }
+
+ QGCLabel { text: qsTr("Photo Count") }
+ QGCLabel { text: missionItem.cameraShots }
+
+ QGCLabel { text: qsTr("Photo Interval") }
+ QGCLabel { text: missionItem.timeBetweenShots.toFixed(1) + " " + qsTr("secs") }
+
+ QGCLabel { text: qsTr("Trigger Distance") }
+ QGCLabel { text: missionItem.cameraCalc.adjustedFootprintFrontal.valueString + " " + missionItem.cameraCalc.adjustedFootprintFrontal.units }
+}
diff --git a/src/QmlControls/QGroundControl.Controls.qmldir b/src/QmlControls/QGroundControl.Controls.qmldir
index 65b86d0..6bbe56f 100644
--- a/src/QmlControls/QGroundControl.Controls.qmldir
+++ b/src/QmlControls/QGroundControl.Controls.qmldir
@@ -71,6 +71,7 @@ SimpleItemMapVisuals 1.0 SimpleItemMapVisuals.qml
SliderSwitch 1.0 SliderSwitch.qml
SubMenuButton 1.0 SubMenuButton.qml
SurveyMapVisuals 1.0 SurveyMapVisuals.qml
+TransectStyleComplexItemStats 1.0 TransectStyleComplexItemStats.qml
ToolStrip 1.0 ToolStrip.qml
VehicleRotationCal 1.0 VehicleRotationCal.qml
VehicleSummaryRow 1.0 VehicleSummaryRow.qml