Commit 1067b01f authored by DonLakeFlyer's avatar DonLakeFlyer

parent 788ec028
...@@ -24,6 +24,8 @@ Column { ...@@ -24,6 +24,8 @@ Column {
SectionHeader { SectionHeader {
id: cameraSectionHeader id: cameraSectionHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Camera") text: qsTr("Camera")
checked: false checked: false
} }
......
...@@ -125,6 +125,8 @@ Rectangle { ...@@ -125,6 +125,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: corridorHeader id: corridorHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Corridor") text: qsTr("Corridor")
} }
...@@ -183,6 +185,8 @@ Rectangle { ...@@ -183,6 +185,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: terrainHeader id: terrainHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Terrain") text: qsTr("Terrain")
checked: missionItem.followTerrain checked: missionItem.followTerrain
} }
...@@ -229,6 +233,8 @@ Rectangle { ...@@ -229,6 +233,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: statsHeader id: statsHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Statistics") text: qsTr("Statistics")
} }
......
...@@ -53,6 +53,8 @@ Rectangle { ...@@ -53,6 +53,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: loiterPointSection id: loiterPointSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Loiter point") text: qsTr("Loiter point")
} }
...@@ -102,6 +104,8 @@ Rectangle { ...@@ -102,6 +104,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: landingPointSection id: landingPointSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Landing point") text: qsTr("Landing point")
} }
...@@ -182,6 +186,8 @@ Rectangle { ...@@ -182,6 +186,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: cameraSection id: cameraSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Camera") text: qsTr("Camera")
visible: _showCameraSection visible: _showCameraSection
} }
......
...@@ -111,6 +111,8 @@ QGCFlickable { ...@@ -111,6 +111,8 @@ QGCFlickable {
SectionHeader { SectionHeader {
id: insertSection id: insertSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Insert GeoFence") text: qsTr("Insert GeoFence")
} }
...@@ -140,6 +142,8 @@ QGCFlickable { ...@@ -140,6 +142,8 @@ QGCFlickable {
SectionHeader { SectionHeader {
id: polygonSection id: polygonSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Polygon Fences") text: qsTr("Polygon Fences")
} }
...@@ -213,6 +217,8 @@ QGCFlickable { ...@@ -213,6 +217,8 @@ QGCFlickable {
SectionHeader { SectionHeader {
id: circleSection id: circleSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Circular Fences") text: qsTr("Circular Fences")
} }
...@@ -303,6 +309,8 @@ QGCFlickable { ...@@ -303,6 +309,8 @@ QGCFlickable {
SectionHeader { SectionHeader {
id: breachReturnSection id: breachReturnSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Breach Return Point") text: qsTr("Breach Return Point")
} }
......
...@@ -109,6 +109,8 @@ Rectangle { ...@@ -109,6 +109,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: missionEndHeader id: missionEndHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Mission End") text: qsTr("Mission End")
checked: true checked: true
} }
...@@ -129,6 +131,8 @@ Rectangle { ...@@ -129,6 +131,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: vehicleInfoSectionHeader id: vehicleInfoSectionHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Vehicle Info") text: qsTr("Vehicle Info")
visible: _offlineEditing && !_waypointsOnlyMode visible: _offlineEditing && !_waypointsOnlyMode
checked: false checked: false
...@@ -193,6 +197,8 @@ Rectangle { ...@@ -193,6 +197,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: plannedHomePositionSection id: plannedHomePositionSection
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Planned Home Position") text: qsTr("Planned Home Position")
visible: !_vehicleHasHomePosition visible: !_vehicleHasHomePosition
checked: false checked: false
......
...@@ -131,6 +131,8 @@ Rectangle { ...@@ -131,6 +131,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: scanHeader id: scanHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Scan") text: qsTr("Scan")
} }
...@@ -201,6 +203,8 @@ Rectangle { ...@@ -201,6 +203,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: statsHeader id: statsHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Statistics") text: qsTr("Statistics")
} }
......
...@@ -125,6 +125,8 @@ Rectangle { ...@@ -125,6 +125,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: transectsHeader id: transectsHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Transects") text: qsTr("Transects")
} }
...@@ -234,6 +236,8 @@ Rectangle { ...@@ -234,6 +236,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: terrainHeader id: terrainHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Terrain") text: qsTr("Terrain")
checked: missionItem.followTerrain checked: missionItem.followTerrain
} }
...@@ -281,6 +285,8 @@ Rectangle { ...@@ -281,6 +285,8 @@ Rectangle {
SectionHeader { SectionHeader {
id: statsHeader id: statsHeader
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Statistics") text: qsTr("Statistics")
} }
...@@ -357,8 +363,6 @@ Rectangle { ...@@ -357,8 +363,6 @@ Rectangle {
SectionHeader { SectionHeader {
id: presectsTransectsHeader id: presectsTransectsHeader
anchors.left: undefined
anchors.right: undefined
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("Transects") text: qsTr("Transects")
} }
...@@ -401,8 +405,6 @@ Rectangle { ...@@ -401,8 +405,6 @@ Rectangle {
SectionHeader { SectionHeader {
id: presetsStatsHeader id: presetsStatsHeader
anchors.left: undefined
anchors.right: undefined
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("Statistics") text: qsTr("Statistics")
} }
......
...@@ -174,6 +174,8 @@ Item { ...@@ -174,6 +174,8 @@ Item {
SectionHeader { SectionHeader {
id: categoryHeader id: categoryHeader
anchors.left: parent.left
anchors.right: parent.right
text: category text: category
checked: controller.currentCategory === text checked: controller.currentCategory === text
exclusiveGroup: sectionGroup exclusiveGroup: sectionGroup
......
...@@ -44,6 +44,8 @@ Column { ...@@ -44,6 +44,8 @@ Column {
SectionHeader { SectionHeader {
id: header id: header
anchors.left: parent.left
anchors.right: parent.right
text: name + (passed ? qsTr(" (passed)") : "") text: name + (passed ? qsTr(" (passed)") : "")
} }
......
...@@ -8,8 +8,6 @@ import QGroundControl.Palette 1.0 ...@@ -8,8 +8,6 @@ import QGroundControl.Palette 1.0
FocusScope { FocusScope {
id: _root id: _root
anchors.left: parent.left
anchors.right: parent.right
height: column.height height: column.height
property alias text: label.text property alias text: label.text
......
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