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
2477f5aa
Commit
2477f5aa
authored
Nov 15, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
dfa866fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
SurveyItemEditor.qml
src/PlanView/SurveyItemEditor.qml
+8
-7
No files found.
src/PlanView/SurveyItemEditor.qml
View file @
2477f5aa
...
@@ -80,7 +80,6 @@ Rectangle {
...
@@ -80,7 +80,6 @@ Rectangle {
}
}
GridLayout
{
GridLayout
{
id
:
transectsGrid
anchors.left
:
parent
.
left
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.right
:
parent
.
right
columnSpacing
:
_margin
columnSpacing
:
_margin
...
@@ -94,6 +93,7 @@ Rectangle {
...
@@ -94,6 +93,7 @@ Rectangle {
Layout.fillWidth
:
true
Layout.fillWidth
:
true
onUpdated
:
angleSlider
.
value
=
missionItem
.
gridAngle
.
value
onUpdated
:
angleSlider
.
value
=
missionItem
.
gridAngle
.
value
}
}
QGCSlider
{
QGCSlider
{
id
:
angleSlider
id
:
angleSlider
minimumValue
:
0
minimumValue
:
0
...
@@ -113,9 +113,15 @@ Rectangle {
...
@@ -113,9 +113,15 @@ Rectangle {
fact
:
missionItem
.
turnAroundDistance
fact
:
missionItem
.
turnAroundDistance
Layout.fillWidth
:
true
Layout.fillWidth
:
true
}
}
}
ColumnLayout
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
spacing
:
_margin
visible
:
transectsHeader
.
checked
QGCButton
{
QGCButton
{
Layout.columnSpan
:
2
text
:
qsTr
(
"
Rotate Entry Point
"
)
text
:
qsTr
(
"
Rotate Entry Point
"
)
onClicked
:
missionItem
.
rotateEntryPoint
();
onClicked
:
missionItem
.
rotateEntryPoint
();
}
}
...
@@ -132,7 +138,6 @@ Rectangle {
...
@@ -132,7 +138,6 @@ Rectangle {
fact
:
missionItem
.
hoverAndCapture
fact
:
missionItem
.
hoverAndCapture
visible
:
missionItem
.
hoverAndCaptureAllowed
visible
:
missionItem
.
hoverAndCaptureAllowed
enabled
:
!
missionItem
.
followTerrain
enabled
:
!
missionItem
.
followTerrain
Layout.columnSpan
:
2
onClicked
:
{
onClicked
:
{
if
(
checked
)
{
if
(
checked
)
{
missionItem
.
cameraTriggerInTurnAround
.
rawValue
=
false
missionItem
.
cameraTriggerInTurnAround
.
rawValue
=
false
...
@@ -144,21 +149,18 @@ Rectangle {
...
@@ -144,21 +149,18 @@ Rectangle {
text
:
qsTr
(
"
Refly at 90 deg offset
"
)
text
:
qsTr
(
"
Refly at 90 deg offset
"
)
fact
:
missionItem
.
refly90Degrees
fact
:
missionItem
.
refly90Degrees
enabled
:
!
missionItem
.
followTerrain
enabled
:
!
missionItem
.
followTerrain
Layout.columnSpan
:
2
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Images in turnarounds
"
)
text
:
qsTr
(
"
Images in turnarounds
"
)
fact
:
missionItem
.
cameraTriggerInTurnAround
fact
:
missionItem
.
cameraTriggerInTurnAround
enabled
:
missionItem
.
hoverAndCaptureAllowed
?
!
missionItem
.
hoverAndCapture
.
rawValue
:
true
enabled
:
missionItem
.
hoverAndCaptureAllowed
?
!
missionItem
.
hoverAndCapture
.
rawValue
:
true
Layout.columnSpan
:
2
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Fly alternate transects
"
)
text
:
qsTr
(
"
Fly alternate transects
"
)
fact
:
missionItem
.
flyAlternateTransects
fact
:
missionItem
.
flyAlternateTransects
visible
:
_vehicle
.
fixedWing
||
_vehicle
.
vtol
visible
:
_vehicle
.
fixedWing
||
_vehicle
.
vtol
Layout.columnSpan
:
2
}
}
QGCCheckBox
{
QGCCheckBox
{
...
@@ -168,7 +170,6 @@ Rectangle {
...
@@ -168,7 +170,6 @@ Rectangle {
checked
:
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
checked
:
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
enabled
:
missionItem
.
cameraCalc
.
isManualCamera
&&
!
missionItem
.
followTerrain
enabled
:
missionItem
.
cameraCalc
.
isManualCamera
&&
!
missionItem
.
followTerrain
visible
:
QGroundControl
.
corePlugin
.
options
.
showMissionAbsoluteAltitude
||
(
!
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
&&
!
missionItem
.
followTerrain
)
visible
:
QGroundControl
.
corePlugin
.
options
.
showMissionAbsoluteAltitude
||
(
!
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
&&
!
missionItem
.
followTerrain
)
Layout.columnSpan
:
2
onClicked
:
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
=
checked
onClicked
:
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
=
checked
Connections
{
Connections
{
...
...
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