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
6762622d
Unverified
Commit
6762622d
authored
Mar 16, 2020
by
Don Gagne
Committed by
GitHub
Mar 16, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8552 from DonLakeFlyer/PlanViewTweals
Plan: Visual tweaks for mission items
parents
860915f7
edd8f9d0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
184 additions
and
198 deletions
+184
-198
MissionItemEditor.qml
src/PlanView/MissionItemEditor.qml
+169
-166
PlanView.qml
src/PlanView/PlanView.qml
+15
-32
No files found.
src/PlanView/MissionItemEditor.qml
View file @
6762622d
This diff is collapsed.
Click to expand it.
src/PlanView/PlanView.qml
View file @
6762622d
...
...
@@ -49,7 +49,7 @@ Item {
property
bool
_addWaypointOnClick
:
false
property
bool
_addROIOnClick
:
false
property
bool
_singleComplexItem
:
_missionController
.
complexMissionItemNames
.
length
===
1
property
int
_editingLayer
:
bar
.
currentIndex
?
_layers
[
b
ar
.
currentIndex
]
:
_layerMission
property
int
_editingLayer
:
layerTabBar
.
currentIndex
?
_layers
[
layerTabB
ar
.
currentIndex
]
:
_layerMission
property
int
_toolStripBottom
:
toolStrip
.
height
+
toolStrip
.
y
property
var
_appSettings
:
QGroundControl
.
settingsManager
.
appSettings
property
var
_planViewSettings
:
QGroundControl
.
settingsManager
.
planViewSettings
...
...
@@ -704,7 +704,7 @@ Item {
height
:
parent
.
height
width
:
_rightPanelWidth
color
:
qgcPal
.
window
opacity
:
planExpanded
.
visible
?
0.2
:
0
opacity
:
layerTabBar
.
visible
?
0.2
:
0
anchors.bottom
:
parent
.
bottom
anchors.right
:
parent
.
right
anchors.rightMargin
:
_toolsMargin
...
...
@@ -781,38 +781,21 @@ Item {
}
//-------------------------------------------------------
// Mission Controls (Expanded)
Rectangle
{
id
:
planExpanded
QGCTabBar
{
id
:
layerTabBar
width
:
parent
.
width
height
:
(
!
planControlColapsed
||
!
_airspaceEnabled
)
?
bar
.
height
+
ScreenTools
.
defaultFontPixelHeight
:
0
color
:
qgcPal
.
missionItemEditor
radius
:
_radius
visible
:
(
!
planControlColapsed
||
!
_airspaceEnabled
)
&&
QGroundControl
.
corePlugin
.
options
.
enablePlanViewSelector
Item
{
height
:
bar
.
height
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
anchors.verticalCenter
:
parent
.
verticalCenter
QGCTabBar
{
id
:
bar
width
:
parent
.
width
anchors.centerIn
:
parent
Component.onCompleted
:
{
currentIndex
=
0
}
QGCTabButton
{
text
:
qsTr
(
"
Mission
"
)
}
QGCTabButton
{
text
:
qsTr
(
"
Fence
"
)
enabled
:
_geoFenceController
.
supported
}
QGCTabButton
{
text
:
qsTr
(
"
Rally
"
)
enabled
:
_rallyPointController
.
supported
}
}
Component.onCompleted
:
currentIndex
=
0
QGCTabButton
{
text
:
qsTr
(
"
Mission
"
)
}
QGCTabButton
{
text
:
qsTr
(
"
Fence
"
)
enabled
:
_geoFenceController
.
supported
}
QGCTabButton
{
text
:
qsTr
(
"
Rally
"
)
enabled
:
_rallyPointController
.
supported
}
}
}
...
...
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