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
Hide 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
...
@@ -124,8 +124,10 @@ Rectangle {
...
@@ -124,8 +124,10 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
corridorHeader
id
:
corridorHeader
text
:
qsTr
(
"
Corridor
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Corridor
"
)
}
}
GridLayout
{
GridLayout
{
...
@@ -182,9 +184,11 @@ Rectangle {
...
@@ -182,9 +184,11 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
terrainHeader
id
:
terrainHeader
text
:
qsTr
(
"
Terrain
"
)
anchors.left
:
parent
.
left
checked
:
missionItem
.
followTerrain
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Terrain
"
)
checked
:
missionItem
.
followTerrain
}
}
ColumnLayout
{
ColumnLayout
{
...
@@ -228,8 +232,10 @@ Rectangle {
...
@@ -228,8 +232,10 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
statsHeader
id
:
statsHeader
text
:
qsTr
(
"
Statistics
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Statistics
"
)
}
}
TransectStyleComplexItemStats
{
}
TransectStyleComplexItemStats
{
}
...
...
src/PlanView/FWLandingPatternEditor.qml
View file @
1067b01f
...
@@ -52,8 +52,10 @@ Rectangle {
...
@@ -52,8 +52,10 @@ Rectangle {
visible
:
!
editorColumnNeedLandingPoint
.
visible
visible
:
!
editorColumnNeedLandingPoint
.
visible
SectionHeader
{
SectionHeader
{
id
:
loiterPointSection
id
:
loiterPointSection
text
:
qsTr
(
"
Loiter point
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Loiter point
"
)
}
}
Column
{
Column
{
...
@@ -101,8 +103,10 @@ Rectangle {
...
@@ -101,8 +103,10 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
landingPointSection
id
:
landingPointSection
text
:
qsTr
(
"
Landing point
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Landing point
"
)
}
}
Column
{
Column
{
...
@@ -181,9 +185,11 @@ Rectangle {
...
@@ -181,9 +185,11 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
cameraSection
id
:
cameraSection
text
:
qsTr
(
"
Camera
"
)
anchors.left
:
parent
.
left
visible
:
_showCameraSection
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Camera
"
)
visible
:
_showCameraSection
}
}
Column
{
Column
{
...
...
src/PlanView/GeoFenceEditor.qml
View file @
1067b01f
...
@@ -110,8 +110,10 @@ QGCFlickable {
...
@@ -110,8 +110,10 @@ QGCFlickable {
}
}
SectionHeader
{
SectionHeader
{
id
:
insertSection
id
:
insertSection
text
:
qsTr
(
"
Insert GeoFence
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Insert GeoFence
"
)
}
}
QGCButton
{
QGCButton
{
...
@@ -139,8 +141,10 @@ QGCFlickable {
...
@@ -139,8 +141,10 @@ QGCFlickable {
}
}
SectionHeader
{
SectionHeader
{
id
:
polygonSection
id
:
polygonSection
text
:
qsTr
(
"
Polygon Fences
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Polygon Fences
"
)
}
}
QGCLabel
{
QGCLabel
{
...
@@ -212,8 +216,10 @@ QGCFlickable {
...
@@ -212,8 +216,10 @@ QGCFlickable {
}
// GridLayout
}
// GridLayout
SectionHeader
{
SectionHeader
{
id
:
circleSection
id
:
circleSection
text
:
qsTr
(
"
Circular Fences
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Circular Fences
"
)
}
}
QGCLabel
{
QGCLabel
{
...
@@ -302,8 +308,10 @@ QGCFlickable {
...
@@ -302,8 +308,10 @@ QGCFlickable {
}
// GridLayout
}
// GridLayout
SectionHeader
{
SectionHeader
{
id
:
breachReturnSection
id
:
breachReturnSection
text
:
qsTr
(
"
Breach Return Point
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Breach Return Point
"
)
}
}
QGCButton
{
QGCButton
{
...
...
src/PlanView/MissionSettingsEditor.qml
View file @
1067b01f
...
@@ -108,9 +108,11 @@ Rectangle {
...
@@ -108,9 +108,11 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
missionEndHeader
id
:
missionEndHeader
text
:
qsTr
(
"
Mission End
"
)
anchors.left
:
parent
.
left
checked
:
true
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Mission End
"
)
checked
:
true
}
}
Column
{
Column
{
...
@@ -128,10 +130,12 @@ Rectangle {
...
@@ -128,10 +130,12 @@ Rectangle {
SectionHeader
{
SectionHeader
{
id
:
vehicleInfoSectionHeader
id
:
vehicleInfoSectionHeader
text
:
qsTr
(
"
Vehicle Info
"
)
anchors.left
:
parent
.
left
visible
:
_offlineEditing
&&
!
_waypointsOnlyMode
anchors.right
:
parent
.
right
checked
:
false
text
:
qsTr
(
"
Vehicle Info
"
)
visible
:
_offlineEditing
&&
!
_waypointsOnlyMode
checked
:
false
}
}
GridLayout
{
GridLayout
{
...
@@ -192,10 +196,12 @@ Rectangle {
...
@@ -192,10 +196,12 @@ Rectangle {
}
// GridLayout
}
// GridLayout
SectionHeader
{
SectionHeader
{
id
:
plannedHomePositionSection
id
:
plannedHomePositionSection
text
:
qsTr
(
"
Planned Home Position
"
)
anchors.left
:
parent
.
left
visible
:
!
_vehicleHasHomePosition
anchors.right
:
parent
.
right
checked
:
false
text
:
qsTr
(
"
Planned Home Position
"
)
visible
:
!
_vehicleHasHomePosition
checked
:
false
}
}
Column
{
Column
{
...
...
src/PlanView/StructureScanEditor.qml
View file @
1067b01f
...
@@ -130,8 +130,10 @@ Rectangle {
...
@@ -130,8 +130,10 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
scanHeader
id
:
scanHeader
text
:
qsTr
(
"
Scan
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Scan
"
)
}
}
Column
{
Column
{
...
@@ -200,8 +202,10 @@ Rectangle {
...
@@ -200,8 +202,10 @@ Rectangle {
}
// Column - Scan
}
// Column - Scan
SectionHeader
{
SectionHeader
{
id
:
statsHeader
id
:
statsHeader
text
:
qsTr
(
"
Statistics
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Statistics
"
)
}
}
Grid
{
Grid
{
...
...
src/PlanView/SurveyItemEditor.qml
View file @
1067b01f
...
@@ -124,8 +124,10 @@ Rectangle {
...
@@ -124,8 +124,10 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
transectsHeader
id
:
transectsHeader
text
:
qsTr
(
"
Transects
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Transects
"
)
}
}
GridLayout
{
GridLayout
{
...
@@ -233,9 +235,11 @@ Rectangle {
...
@@ -233,9 +235,11 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
terrainHeader
id
:
terrainHeader
text
:
qsTr
(
"
Terrain
"
)
anchors.left
:
parent
.
left
checked
:
missionItem
.
followTerrain
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Terrain
"
)
checked
:
missionItem
.
followTerrain
}
}
ColumnLayout
{
ColumnLayout
{
...
@@ -280,8 +284,10 @@ Rectangle {
...
@@ -280,8 +284,10 @@ Rectangle {
}
}
SectionHeader
{
SectionHeader
{
id
:
statsHeader
id
:
statsHeader
text
:
qsTr
(
"
Statistics
"
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Statistics
"
)
}
}
TransectStyleComplexItemStats
{
TransectStyleComplexItemStats
{
...
@@ -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
"
)
}
}
...
@@ -400,11 +404,9 @@ Rectangle {
...
@@ -400,11 +404,9 @@ 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
"
)
}
}
TransectStyleComplexItemStats
{
TransectStyleComplexItemStats
{
...
...
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
...
@@ -43,8 +43,10 @@ Column {
...
@@ -43,8 +43,10 @@ Column {
}
}
SectionHeader
{
SectionHeader
{
id
:
header
id
:
header
text
:
name
+
(
passed
?
qsTr
(
"
(passed)
"
)
:
""
)
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
name
+
(
passed
?
qsTr
(
"
(passed)
"
)
:
""
)
}
}
Column
{
Column
{
...
...
src/QmlControls/SectionHeader.qml
View file @
1067b01f
...
@@ -7,10 +7,8 @@ import QGroundControl.ScreenTools 1.0
...
@@ -7,10 +7,8 @@ import QGroundControl.ScreenTools 1.0
import
QGroundControl
.
Palette
1.0
import
QGroundControl
.
Palette
1.0
FocusScope
{
FocusScope
{
id
:
_root
id
:
_root
anchors.left
:
parent
.
left
height
:
column
.
height
anchors.right
:
parent
.
right
height
:
column
.
height
property
alias
text
:
label
.
text
property
alias
text
:
label
.
text
property
bool
checked
:
true
property
bool
checked
:
true
...
...
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