21 #ifndef MOUSESELECTION_H
22 #define MOUSESELECTION_H
24 #include <tulip/GLInteractor.h>
32 class TLP_QT_SCOPE MouseSelector:
public GLInteractorComponent {
40 MouseSelector(Qt::MouseButton button = Qt::LeftButton,
41 Qt::KeyboardModifier modifier = Qt::NoModifier,
42 SelectionMode mode = EdgesAndNodes);
44 bool draw(GlMainWidget *);
45 bool eventFilter(QObject *, QEvent *);
46 InteractorComponent *clone() {
47 return new MouseSelector(mButton, kModifier);
50 Qt::MouseButton mButton;
51 Qt::KeyboardModifier kModifier;
52 Qt::KeyboardModifiers mousePressModifier;