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
76d57047
Commit
76d57047
authored
Mar 23, 2017
by
Donald Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add battery space
Plus minor repositioning for better readability
parent
1db98986
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
17 deletions
+45
-17
PlanToolBar.qml
src/MissionEditor/PlanToolBar.qml
+45
-17
No files found.
src/MissionEditor/PlanToolBar.qml
View file @
76d57047
...
...
@@ -52,7 +52,7 @@ Rectangle {
property
string
_missionTimeText
:
isNaN
(
_missionTime
)
?
"
-.-
"
:
Number
(
_missionTime
/
60
).
toFixed
(
1
)
+
"
min
"
property
string
_missionMaxTelemetryText
:
isNaN
(
_missionMaxTelemetry
)
?
"
-.-
"
:
QGroundControl
.
metersToAppSettingsDistanceUnits
(
_missionMaxTelemetry
).
toFixed
(
1
)
+
"
"
+
QGroundControl
.
appSettingsDistanceUnitsString
readonly
property
real
_margins
:
ScreenTools
.
defaultFontPixelWidth
readonly
property
real
_margins
:
ScreenTools
.
defaultFontPixelWidth
QGCPalette
{
id
:
qgcPal
}
...
...
@@ -94,53 +94,81 @@ Rectangle {
}
GridLayout
{
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
columns
:
4
rowSpacing
:
0
columnSpacing
:
_margins
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
columns
:
5
rowSpacing
:
0
columnSpacing
:
_margins
/
4
QGCLabel
{
text
:
qsTr
(
"
Selected waypoint
"
)
Layout.columnSpan
:
4
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
qsTr
(
"
Selected waypoint
"
)
Layout.columnSpan
:
5
font.pointSize
:
ScreenTools
.
smallFontPointSize
}
QGCLabel
{
text
:
qsTr
(
"
Distance:
"
)
}
QGCLabel
{
text
:
_distanceText
}
Item
{
width
:
1
;
height
:
1
}
QGCLabel
{
text
:
qsTr
(
"
Gradient:
"
)
}
QGCLabel
{
text
:
_gradientText
}
QGCLabel
{
text
:
qsTr
(
"
Alt diff:
"
)
}
QGCLabel
{
text
:
_altDifferenceText
}
Item
{
width
:
1
;
height
:
1
}
QGCLabel
{
text
:
qsTr
(
"
Azimuth:
"
)
}
QGCLabel
{
text
:
_azimuthText
}
}
GridLayout
{
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
columns
:
4
rowSpacing
:
0
columnSpacing
:
_margins
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
columns
:
5
rowSpacing
:
0
columnSpacing
:
_margins
/
4
QGCLabel
{
text
:
qsTr
(
"
Total mission
"
)
Layout.columnSpan
:
4
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
qsTr
(
"
Total mission
"
)
Layout.columnSpan
:
5
font.pointSize
:
ScreenTools
.
smallFontPointSize
}
QGCLabel
{
text
:
qsTr
(
"
Distance:
"
)
}
QGCLabel
{
text
:
_missionDistanceText
}
Item
{
width
:
1
;
height
:
1
}
QGCLabel
{
text
:
qsTr
(
"
Max telem dist:
"
)
}
QGCLabel
{
text
:
_missionMaxTelemetryText
}
QGCLabel
{
text
:
qsTr
(
"
Time:
"
)
}
QGCLabel
{
text
:
_missionTimeText
}
}
GridLayout
{
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
columns
:
3
rowSpacing
:
0
columnSpacing
:
_margins
/
4
QGCLabel
{
text
:
qsTr
(
"
Battery
"
)
Layout.columnSpan
:
3
font.pointSize
:
ScreenTools
.
smallFontPointSize
}
QGCLabel
{
text
:
qsTr
(
"
Batteries required:
"
)
}
QGCLabel
{
text
:
"
--.--
"
}
Item
{
width
:
1
;
height
:
1
}
QGCLabel
{
text
:
qsTr
(
"
Swap waypoint:
"
)
}
QGCLabel
{
text
:
"
--
"
}
}
}
QGCButton
{
...
...
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