changed 3D rendering

added pan/zoom gesture
This commit is contained in:
2018-02-04 17:02:14 +01:00
parent 3b62f23c0e
commit 076c0e9157
32 changed files with 446 additions and 484 deletions

View File

@@ -10,6 +10,9 @@
class MapModel;
class MV2DElement;
class QGestureEvent;
class QPinchGesture;
class QSwipeGesture;
#include "tools/Tools.h"
@@ -80,6 +83,12 @@ protected:
void keyPressEvent(QKeyEvent* e);
// android
bool event(QEvent *e) override;
bool gestureEvent(QGestureEvent* event);
void pinchTriggered(QPinchGesture* gesture);
void panTriggered(QPanGesture* gesture);
};
#endif // MAP2D_H