25 #include <tulip/tulipconf.h>
27 #include <QtGui/qcursor.h>
29 #include "tulip/InteractorComposite.h"
35 class TLP_QT_SCOPE MousePanNZoomNavigator:
public InteractorComponent {
37 MousePanNZoomNavigator():cameraScaleFactor(1), isGesturing(false) {}
38 ~MousePanNZoomNavigator() {}
39 bool eventFilter(QObject *, QEvent *);
40 InteractorComponent *clone() {
41 return new MousePanNZoomNavigator();
44 float cameraScaleFactor;
50 class TLP_QT_SCOPE MouseElementDeleter:
public InteractorComponent {
52 MouseElementDeleter() {}
53 ~MouseElementDeleter() {}
54 bool eventFilter(QObject *, QEvent *);
55 InteractorComponent *clone() {
56 return new MouseElementDeleter();
64 class TLP_QT_SCOPE MouseNKeysNavigator:
public MousePanNZoomNavigator {
66 InteractorComponent *currentSpecInteractorComponent;
70 MouseNKeysNavigator() : currentSpecInteractorComponent(NULL) {}
71 ~MouseNKeysNavigator() {}
72 bool eventFilter(QObject *, QEvent *);
73 InteractorComponent *clone() {
74 return new MouseNKeysNavigator();