Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
1067b01f
Commit
1067b01f
authored
Nov 11, 2019
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SectionHeader no longer set width automatically
parent
788ec028
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
92 additions
and
56 deletions
+92
-56
CameraSection.qml
src/PlanView/CameraSection.qml
+2
-0
CorridorScanEditor.qml
src/PlanView/CorridorScanEditor.qml
+13
-7
FWLandingPatternEditor.qml
src/PlanView/FWLandingPatternEditor.qml
+13
-7
GeoFenceEditor.qml
src/PlanView/GeoFenceEditor.qml
+16
-8
MissionSettingsEditor.qml
src/PlanView/MissionSettingsEditor.qml
+17
-11
StructureScanEditor.qml
src/PlanView/StructureScanEditor.qml
+8
-4
SurveyItemEditor.qml
src/PlanView/SurveyItemEditor.qml
+15
-13
ParameterEditor.qml
src/QmlControls/ParameterEditor.qml
+2
-0
PreFlightCheckGroup.qml
src/QmlControls/PreFlightCheckGroup.qml
+4
-2
SectionHeader.qml
src/QmlControls/SectionHeader.qml
+2
-4
No files found.
src/PlanView/CameraSection.qml
View file @
1067b01f
...
@@ -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
}
}
...
...
src/PlanView/CorridorScanEditor.qml
View file @
1067b01f
...
@@ -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
"
)
}
}
...
...
src/PlanView/FWLandingPatternEditor.qml
View file @
1067b01f
...
@@ -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
}
}
...
...
src/PlanView/GeoFenceEditor.qml
View file @
1067b01f
...
@@ -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
"
)
}
}
...
...
src/PlanView/MissionSettingsEditor.qml
View file @
1067b01f
...
@@ -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
...
...
src/PlanView/StructureScanEditor.qml
View file @
1067b01f
...
@@ -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
"
)
}
}
...
...
src/PlanView/SurveyItemEditor.qml
View file @
1067b01f
...
@@ -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
"
)
}
}
...
...
src/QmlControls/ParameterEditor.qml
View file @
1067b01f
...
@@ -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
...
...
src/QmlControls/PreFlightCheckGroup.qml
View file @
1067b01f
...
@@ -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)
"
)
:
""
)
}
}
...
...
src/QmlControls/SectionHeader.qml
View file @
1067b01f
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment