Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
b052733e
Unverified
Commit
b052733e
authored
Nov 15, 2018
by
Don Gagne
Committed by
GitHub
Nov 15, 2018
Browse files
Merge pull request #7009 from DonLakeFlyer/SurveyEditorLayout
Survey item editor: Layout fixes
parents
1a19de4e
2477f5aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PlanView/SurveyItemEditor.qml
View file @
b052733e
...
...
@@ -80,7 +80,6 @@ Rectangle {
}
GridLayout
{
id
:
transectsGrid
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
columnSpacing
:
_margin
...
...
@@ -94,6 +93,7 @@ Rectangle {
Layout.fillWidth
:
true
onUpdated
:
angleSlider
.
value
=
missionItem
.
gridAngle
.
value
}
QGCSlider
{
id
:
angleSlider
minimumValue
:
0
...
...
@@ -113,9 +113,15 @@ Rectangle {
fact
:
missionItem
.
turnAroundDistance
Layout.fillWidth
:
true
}
}
ColumnLayout
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
spacing
:
_margin
visible
:
transectsHeader
.
checked
QGCButton
{
Layout.columnSpan
:
2
text
:
qsTr
(
"
Rotate Entry Point
"
)
onClicked
:
missionItem
.
rotateEntryPoint
();
}
...
...
@@ -132,7 +138,6 @@ Rectangle {
fact
:
missionItem
.
hoverAndCapture
visible
:
missionItem
.
hoverAndCaptureAllowed
enabled
:
!
missionItem
.
followTerrain
Layout.columnSpan
:
2
onClicked
:
{
if
(
checked
)
{
missionItem
.
cameraTriggerInTurnAround
.
rawValue
=
false
...
...
@@ -144,21 +149,18 @@ Rectangle {
text
:
qsTr
(
"
Refly at 90 deg offset
"
)
fact
:
missionItem
.
refly90Degrees
enabled
:
!
missionItem
.
followTerrain
Layout.columnSpan
:
2
}
FactCheckBox
{
text
:
qsTr
(
"
Images in turnarounds
"
)
fact
:
missionItem
.
cameraTriggerInTurnAround
enabled
:
missionItem
.
hoverAndCaptureAllowed
?
!
missionItem
.
hoverAndCapture
.
rawValue
:
true
Layout.columnSpan
:
2
}
FactCheckBox
{
text
:
qsTr
(
"
Fly alternate transects
"
)
fact
:
missionItem
.
flyAlternateTransects
visible
:
_vehicle
.
fixedWing
||
_vehicle
.
vtol
Layout.columnSpan
:
2
}
QGCCheckBox
{
...
...
@@ -168,7 +170,6 @@ Rectangle {
checked
:
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
enabled
:
missionItem
.
cameraCalc
.
isManualCamera
&&
!
missionItem
.
followTerrain
visible
:
QGroundControl
.
corePlugin
.
options
.
showMissionAbsoluteAltitude
||
(
!
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
&&
!
missionItem
.
followTerrain
)
Layout.columnSpan
:
2
onClicked
:
missionItem
.
cameraCalc
.
distanceToSurfaceRelative
=
checked
Connections
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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