We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d947e2 commit 6734ab4Copy full SHA for 6734ab4
python/gui/qgsmaptooltouch.sip
@@ -24,5 +24,7 @@ class QgsMapToolTouch : QgsMapTool
24
virtual void canvasDoubleClickEvent( QMouseEvent * e );
25
26
virtual bool isTransient();
27
+
28
+ bool gestureEvent( QGestureEvent *event );
29
};
30
%End
src/gui/qgsmaptooltouch.h
@@ -49,13 +49,14 @@ class GUI_EXPORT QgsMapToolTouch : public QgsMapTool
49
50
virtual bool isTransient() { return true; }
51
52
53
54
private:
55
56
//! Flag to indicate a map canvas drag operation is taking place
57
bool mDragging;
58
//! Flag to indicate a pinch gesture is taking place
59
bool mPinching;
- bool gestureEvent( QGestureEvent *event );
60
void pinchTriggered( QPinchGesture *gesture );
61
62
0 commit comments