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
ed7bdc69
Commit
ed7bdc69
authored
Mar 11, 2019
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
befor trying to convert StructureScanMapVisual.qml into Roi.qml
parent
3a459465
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
12 deletions
+21
-12
QuadView.qml
src/QuadView/QuadView.qml
+21
-12
No files found.
src/QuadView/QuadView.qml
View file @
ed7bdc69
...
...
@@ -186,7 +186,7 @@ QGCView {
Connections
{
target
:
QGroundControl
.
airspaceManager
onAirspaceVisibleChanged
:
{
onAirspaceVisibleChanged
:
{
oolStrip
planControlColapsed
=
QGroundControl
.
airspaceManager
.
airspaceVisible
}
}
...
...
@@ -601,20 +601,25 @@ QGCView {
dropPanelComponent
:
syncDropPanel
},
{
name
:
qsTr
(
"
Waypoint
"
),
iconSource
:
"
/qmlimages/
MapAddMission
.svg
"
,
name
:
qsTr
(
"
ROI
"
),
iconSource
:
"
/qmlimages/
Target
.svg
"
,
toggle
:
true
},
{
name
:
qsTr
(
"
ROI
"
),
iconSource
:
"
/qmlimages/
Target
.svg
"
,
name
:
qsTr
(
"
No Fly
"
),
iconSource
:
"
/qmlimages/
noFlyArea
.svg
"
,
toggle
:
true
},
{
name
:
qsTr
(
"
Calculate
"
),
iconSource
:
"
/qmlimages/calculate.svg
"
,
toggle
:
true
},
/*{
name: _singleComplexItem ? _missionController.complexMissionItemNames[0] : qsTr("Pattern"),
iconSource: "/qmlimages/MapDrawShape.svg",
dropPanelComponent: _singleComplexItem ? undefined : patternDropPanel
},
},
*/
{
name
:
qsTr
(
"
Center
"
),
iconSource
:
"
/qmlimages/MapCenter.svg
"
,
...
...
@@ -633,23 +638,27 @@ QGCView {
onClicked
:
{
switch
(
index
)
{
case
1
:
_addWaypointOnClick
=
checked
_addROIOnClick
=
false
addComplexItem
(
_missionController
.
complexMissionItemNames
[
2
])
/*_addWaypointOnClick = checked
_addROIOnClick = false*/
break
case
2
:
addComplexItem
(
_missionController
.
complexMissionItemNames
[
2
])
/*
_addROIOnClick = checked
_addWaypointOnClick
=
false
_addWaypointOnClick = false
*/
break
case
3
:
if
(
_singleComplexItem
)
{
/*if (_singleComplexItem) {
addComplexItem(_missionController.complexMissionItemNames[0])
}
}
*/
break
case
5
:
editorMap
.
zoomLevel
+=
0.5
break
case
6
:
//
editorMap.zoomLevel -= 0.5
editorMap
.
zoomLevel
-=
0.5
break
}
}
...
...
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