Commit 5456ee2a authored by Valentin Platzgummer's avatar Valentin Platzgummer

123

parent a6776c0a
...@@ -154,6 +154,25 @@ Item { ...@@ -154,6 +154,25 @@ Item {
Layout.fillWidth: true Layout.fillWidth: true
} }
} }
SectionHeader {
id: statsHeader
text: qsTr("Statistics")
}
GridLayout {
columns: 2
rowSpacing: ScreenTools.defaultFontPixelHeight * 0.5
anchors.topMargin: ScreenTools.defaultFontPixelHeight * 0.25
visible: statsHeader.checked
QGCLabel {
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Phase Length: ")
wrapMode: Text.WordWrap
font.pointSize: ScreenTools.smallFontPointSize
}
}
} }
} }
} }
...@@ -422,7 +422,7 @@ int MissionController::insertSimpleMissionItem(SimpleMissionItem &missionItem, i ...@@ -422,7 +422,7 @@ int MissionController::insertSimpleMissionItem(SimpleMissionItem &missionItem, i
return -1; // can not add this takeoff command for this vehicle return -1; // can not add this takeoff command for this vehicle
} }
} }
//newItem->setMissionFlightStatus(_missionFlightStatus); newItem->setMissionFlightStatus(_missionFlightStatus);
_visualItems->insert(i, newItem); _visualItems->insert(i, newItem);
return newItem->sequenceNumber(); return newItem->sequenceNumber();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment