21 #ifndef MOUSEADDNODE_H
22 #define MOUSEADDNODE_H
24 #include <tulip/InteractorComposite.h>
25 #include <QtGui/qevent.h>
29 class TLP_QT_SCOPE MouseNodeBuilder:
public InteractorComponent {
32 MouseNodeBuilder(QEvent::Type eventType = QEvent::MouseButtonPress):_eventType(eventType) {}
33 ~MouseNodeBuilder() {}
34 bool eventFilter(QObject *, QEvent *);
35 InteractorComponent *clone() {
36 return new MouseNodeBuilder(_eventType);
40 QEvent::Type _eventType;