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
bc2363a7
Unverified
Commit
bc2363a7
authored
Jul 17, 2018
by
Don Gagne
Committed by
GitHub
Jul 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6726 from mavlink/fixSetCircleRadius
Circle Radius
parents
5987613b
6df455df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
QGCMapPolygonVisuals.qml
src/MissionManager/QGCMapPolygonVisuals.qml
+4
-4
No files found.
src/MissionManager/QGCMapPolygonVisuals.qml
View file @
bc2363a7
...
...
@@ -38,6 +38,7 @@ Item {
property
var
_centerDragHandleComponent
property
bool
_circle
:
false
property
real
_circleRadius
property
bool
_editCircleRadius
:
false
property
real
_zorderDragHandle
:
QGroundControl
.
zOrderMapItems
+
3
// Highest to prevent splitting when items overlap
property
real
_zorderSplitHandle
:
QGroundControl
.
zOrderMapItems
+
2
...
...
@@ -224,7 +225,7 @@ Item {
MenuItem
{
text
:
qsTr
(
"
Set radius...
"
)
visible
:
_circle
onTriggered
:
radiusDialog
.
visible
=
true
onTriggered
:
_editCircleRadius
=
true
}
MenuItem
{
...
...
@@ -460,18 +461,17 @@ Item {
function
setRadiusFromDialog
()
{
setCircleRadius
(
mapPolygon
.
center
,
radiusField
.
text
)
radiusDialog
.
visible
=
false
_editCircleRadius
=
false
}
Rectangle
{
id
:
radiusDialog
anchors.margins
:
_margin
anchors.left
:
parent
.
right
width
:
radiusColumn
.
width
+
(
_margin
*
2
)
height
:
radiusColumn
.
height
+
(
_margin
*
2
)
color
:
qgcPal
.
window
border.color
:
qgcPal
.
text
visible
:
false
visible
:
_editCircleRadius
Column
{
id
:
radiusColumn
...
...
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