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
4d835830
Commit
4d835830
authored
Mar 15, 2018
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Stable_V3.3' of
https://github.com/mavlink/qgroundcontrol
into StableMerge
parents
9fb7a58c
192653c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
QGCMapPolygonVisuals.qml
src/MissionManager/QGCMapPolygonVisuals.qml
+4
-2
PlanView.qml
src/PlanView/PlanView.qml
+6
-2
Terrain.cc
src/Terrain.cc
+1
-1
No files found.
src/MissionManager/QGCMapPolygonVisuals.qml
View file @
4d835830
...
@@ -32,6 +32,7 @@ Item {
...
@@ -32,6 +32,7 @@ Item {
property
int
borderWidth
:
0
property
int
borderWidth
:
0
property
color
borderColor
:
"
black
"
property
color
borderColor
:
"
black
"
property
var
_gqcView
:
ggcView
property
var
_polygonComponent
property
var
_polygonComponent
property
var
_dragHandlesComponent
property
var
_dragHandlesComponent
property
var
_splitHandlesComponent
property
var
_splitHandlesComponent
...
@@ -172,12 +173,13 @@ Item {
...
@@ -172,12 +173,13 @@ Item {
QGCFileDialog
{
QGCFileDialog
{
id
:
kmlLoadDialog
id
:
kmlLoadDialog
qgcView
:
_
root
.
qgcView
qgcView
:
_qgcView
folder
:
QGroundControl
.
settingsManager
.
appSettings
.
missionSavePath
folder
:
QGroundControl
.
settingsManager
.
appSettings
.
missionSavePath
title
:
qsTr
(
"
Select KML File
"
)
title
:
qsTr
(
"
Select KML File
"
)
selectExisting
:
true
selectExisting
:
true
nameFilters
:
[
qsTr
(
"
KML files (*.kml)
"
)
]
nameFilters
:
[
qsTr
(
"
KML files (*.kml)
"
)
]
fileExtension
:
"
kml
"
fileExtension
:
QGroundControl
.
settingsManager
.
appSettings
.
kmlFileExtension
onAcceptedForLoad
:
{
onAcceptedForLoad
:
{
mapPolygon
.
loadKMLFile
(
file
)
mapPolygon
.
loadKMLFile
(
file
)
mapFitFunctions
.
fitMapViewportToMissionItems
()
mapFitFunctions
.
fitMapViewportToMissionItems
()
...
...
src/PlanView/PlanView.qml
View file @
4d835830
...
@@ -174,6 +174,8 @@ QGCView {
...
@@ -174,6 +174,8 @@ QGCView {
fileDialog
.
title
=
qsTr
(
"
Select Plan File
"
)
fileDialog
.
title
=
qsTr
(
"
Select Plan File
"
)
fileDialog
.
selectExisting
=
true
fileDialog
.
selectExisting
=
true
fileDialog
.
nameFilters
=
masterController
.
loadNameFilters
fileDialog
.
nameFilters
=
masterController
.
loadNameFilters
fileDialog
.
fileExtension
=
QGroundControl
.
settingsManager
.
appSettings
.
planFileExtension
fileDialog
.
fileExtension2
=
QGroundControl
.
settingsManager
.
appSettings
.
missionFileExtension
fileDialog
.
openForLoad
()
fileDialog
.
openForLoad
()
}
}
...
@@ -182,6 +184,8 @@ QGCView {
...
@@ -182,6 +184,8 @@ QGCView {
fileDialog
.
plan
=
true
fileDialog
.
plan
=
true
fileDialog
.
selectExisting
=
false
fileDialog
.
selectExisting
=
false
fileDialog
.
nameFilters
=
masterController
.
saveNameFilters
fileDialog
.
nameFilters
=
masterController
.
saveNameFilters
fileDialog
.
fileExtension
=
QGroundControl
.
settingsManager
.
appSettings
.
planFileExtension
fileDialog
.
fileExtension2
=
QGroundControl
.
settingsManager
.
appSettings
.
missionFileExtension
fileDialog
.
openForSave
()
fileDialog
.
openForSave
()
}
}
...
@@ -194,6 +198,8 @@ QGCView {
...
@@ -194,6 +198,8 @@ QGCView {
fileDialog
.
plan
=
false
fileDialog
.
plan
=
false
fileDialog
.
selectExisting
=
false
fileDialog
.
selectExisting
=
false
fileDialog
.
nameFilters
=
masterController
.
saveKmlFilters
fileDialog
.
nameFilters
=
masterController
.
saveKmlFilters
fileDialog
.
fileExtension
=
QGroundControl
.
settingsManager
.
appSettings
.
kmlFileExtension
fileDialog
.
fileExtension2
=
""
fileDialog
.
openForSave
()
fileDialog
.
openForSave
()
}
}
}
}
...
@@ -240,8 +246,6 @@ QGCView {
...
@@ -240,8 +246,6 @@ QGCView {
qgcView
:
_qgcView
qgcView
:
_qgcView
property
bool
plan
:
true
property
bool
plan
:
true
folder
:
QGroundControl
.
settingsManager
.
appSettings
.
missionSavePath
folder
:
QGroundControl
.
settingsManager
.
appSettings
.
missionSavePath
fileExtension
:
QGroundControl
.
settingsManager
.
appSettings
.
planFileExtension
fileExtension2
:
QGroundControl
.
settingsManager
.
appSettings
.
missionFileExtension
onAcceptedForSave
:
{
onAcceptedForSave
:
{
plan
?
masterController
.
saveToFile
(
file
)
:
masterController
.
saveToKml
(
file
)
plan
?
masterController
.
saveToFile
(
file
)
:
masterController
.
saveToKml
(
file
)
...
...
src/Terrain.cc
View file @
4d835830
...
@@ -77,7 +77,7 @@ void TerrainBatchManager::_sendNextBatch(void)
...
@@ -77,7 +77,7 @@ void TerrainBatchManager::_sendNextBatch(void)
QUrlQuery
query
;
QUrlQuery
query
;
query
.
addQueryItem
(
QStringLiteral
(
"points"
),
points
);
query
.
addQueryItem
(
QStringLiteral
(
"points"
),
points
);
QUrl
url
(
QStringLiteral
(
"https://api.airmap.com/elevation/
stage/srtm
1/ele"
));
QUrl
url
(
QStringLiteral
(
"https://api.airmap.com/elevation/
v
1/ele"
));
url
.
setQuery
(
query
);
url
.
setQuery
(
query
);
QNetworkRequest
request
(
url
);
QNetworkRequest
request
(
url
);
...
...
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