Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
59755a31
Commit
59755a31
authored
Mar 15, 2017
by
Donald Gagne
Browse files
Turn off flick/an gestures when follow vehicle set
parent
1c16dfea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FlightDisplay/FlightDisplayViewMap.qml
View file @
59755a31
...
@@ -27,6 +27,10 @@ FlightMap {
...
@@ -27,6 +27,10 @@ FlightMap {
anchors.fill
:
parent
anchors.fill
:
parent
mapName
:
_mapName
mapName
:
_mapName
gesture.acceptedGestures
:
_followVehicle
?
MapGestureArea
.
PinchGesture
:
MapGestureArea
.
PinchGesture
|
MapGestureArea
.
PanGesture
|
MapGestureArea
.
FlickGesture
property
alias
missionController
:
missionController
property
alias
missionController
:
missionController
property
var
flightWidgets
property
var
flightWidgets
property
var
rightPanelWidth
property
var
rightPanelWidth
...
@@ -39,6 +43,8 @@ FlightMap {
...
@@ -39,6 +43,8 @@ FlightMap {
property
int
_retaskSequence
:
0
property
int
_retaskSequence
:
0
property
real
_toolButtonTopMargin
:
parent
.
height
-
ScreenTools
.
availableHeight
+
(
ScreenTools
.
defaultFontPixelHeight
/
2
)
property
real
_toolButtonTopMargin
:
parent
.
height
-
ScreenTools
.
availableHeight
+
(
ScreenTools
.
defaultFontPixelHeight
/
2
)
property
bool
followVehicleConnection
:
_followVehicle
///< Only use to create connection on
Component.onCompleted
:
{
Component.onCompleted
:
{
QGroundControl
.
flightMapPosition
=
center
QGroundControl
.
flightMapPosition
=
center
QGroundControl
.
flightMapZoom
=
zoomLevel
QGroundControl
.
flightMapZoom
=
zoomLevel
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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