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
2e3e5734
Commit
2e3e5734
authored
Mar 20, 2018
by
DonLakeFlyer
Browse files
Add trigger distance to editors
parent
eca233d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/PlanView/StructureScanEditor.qml
View file @
2e3e5734
...
...
@@ -159,6 +159,9 @@ Rectangle {
QGCLabel
{
text
:
qsTr
(
"
Photo interval
"
)
}
QGCLabel
{
text
:
missionItem
.
timeBetweenShots
.
toFixed
(
1
)
+
"
"
+
qsTr
(
"
secs
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Trigger Distance
"
)
}
QGCLabel
{
text
:
missionItem
.
cameraCalc
.
adjustedFootprintSide
.
valueString
+
"
"
+
QGroundControl
.
appSettingsDistanceUnitsString
}
}
}
// Column
}
// Rectangle
src/PlanView/SurveyItemEditor.qml
View file @
2e3e5734
...
...
@@ -658,13 +658,13 @@ Rectangle {
columnSpacing
:
ScreenTools
.
defaultFontPixelWidth
visible
:
statsHeader
.
checked
QGCLabel
{
text
:
qsTr
(
"
Survey
a
rea
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Survey
A
rea
"
)
}
QGCLabel
{
text
:
QGroundControl
.
squareMetersToAppSettingsAreaUnits
(
missionItem
.
coveredArea
).
toFixed
(
2
)
+
"
"
+
QGroundControl
.
appSettingsAreaUnitsString
}
QGCLabel
{
text
:
qsTr
(
"
Photo
c
ount
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Photo
C
ount
"
)
}
QGCLabel
{
text
:
missionItem
.
cameraShots
}
QGCLabel
{
text
:
qsTr
(
"
Photo
i
nterval
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Photo
I
nterval
"
)
}
QGCLabel
{
text
:
{
var
timeVal
=
missionItem
.
timeBetweenShots
...
...
@@ -674,6 +674,9 @@ Rectangle {
return
timeVal
.
toFixed
(
1
)
+
"
"
+
qsTr
(
"
secs
"
)
}
}
QGCLabel
{
text
:
qsTr
(
"
Trigger Distance
"
)
}
QGCLabel
{
text
:
missionItem
.
cameraTriggerDistance
.
valueString
+
"
"
+
QGroundControl
.
appSettingsDistanceUnitsString
}
}
}
...
...
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