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
edd8f9d0
Commit
edd8f9d0
authored
Mar 12, 2020
by
DoinLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
e53d470f
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 @
edd8f9d0
This diff is collapsed.
Click to expand it.
src/PlanView/PlanView.qml
View file @
edd8f9d0
...
@@ -49,7 +49,7 @@ Item {
...
@@ -49,7 +49,7 @@ Item {
property
bool
_addWaypointOnClick
:
false
property
bool
_addWaypointOnClick
:
false
property
bool
_addROIOnClick
:
false
property
bool
_addROIOnClick
:
false
property
bool
_singleComplexItem
:
_missionController
.
complexMissionItemNames
.
length
===
1
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
int
_toolStripBottom
:
toolStrip
.
height
+
toolStrip
.
y
property
var
_appSettings
:
QGroundControl
.
settingsManager
.
appSettings
property
var
_appSettings
:
QGroundControl
.
settingsManager
.
appSettings
property
var
_planViewSettings
:
QGroundControl
.
settingsManager
.
planViewSettings
property
var
_planViewSettings
:
QGroundControl
.
settingsManager
.
planViewSettings
...
@@ -704,7 +704,7 @@ Item {
...
@@ -704,7 +704,7 @@ Item {
height
:
parent
.
height
height
:
parent
.
height
width
:
_rightPanelWidth
width
:
_rightPanelWidth
color
:
qgcPal
.
window
color
:
qgcPal
.
window
opacity
:
planExpanded
.
visible
?
0.2
:
0
opacity
:
layerTabBar
.
visible
?
0.2
:
0
anchors.bottom
:
parent
.
bottom
anchors.bottom
:
parent
.
bottom
anchors.right
:
parent
.
right
anchors.right
:
parent
.
right
anchors.rightMargin
:
_toolsMargin
anchors.rightMargin
:
_toolsMargin
...
@@ -781,38 +781,21 @@ Item {
...
@@ -781,38 +781,21 @@ Item {
}
}
//-------------------------------------------------------
//-------------------------------------------------------
// Mission Controls (Expanded)
// Mission Controls (Expanded)
Rectangle
{
QGCTabBar
{
id
:
planExpanded
id
:
layerTabBar
width
:
parent
.
width
width
:
parent
.
width
height
:
(
!
planControlColapsed
||
!
_airspaceEnabled
)
?
bar
.
height
+
ScreenTools
.
defaultFontPixelHeight
:
0
color
:
qgcPal
.
missionItemEditor
radius
:
_radius
visible
:
(
!
planControlColapsed
||
!
_airspaceEnabled
)
&&
QGroundControl
.
corePlugin
.
options
.
enablePlanViewSelector
visible
:
(
!
planControlColapsed
||
!
_airspaceEnabled
)
&&
QGroundControl
.
corePlugin
.
options
.
enablePlanViewSelector
Item
{
Component.onCompleted
:
currentIndex
=
0
height
:
bar
.
height
QGCTabButton
{
anchors.left
:
parent
.
left
text
:
qsTr
(
"
Mission
"
)
anchors.right
:
parent
.
right
}
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
QGCTabButton
{
anchors.verticalCenter
:
parent
.
verticalCenter
text
:
qsTr
(
"
Fence
"
)
QGCTabBar
{
enabled
:
_geoFenceController
.
supported
id
:
bar
}
width
:
parent
.
width
QGCTabButton
{
anchors.centerIn
:
parent
text
:
qsTr
(
"
Rally
"
)
Component.onCompleted
:
{
enabled
:
_rallyPointController
.
supported
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