21 #ifndef MOUSEZOOMBOX_H
22 #define MOUSEZOOMBOX_H
24 #include <tulip/GLInteractor.h>
33 class TLP_QT_SCOPE MouseBoxZoomer :
public GLInteractorComponent {
35 Qt::MouseButton mButton;
36 Qt::KeyboardModifier kModifier;
39 bool started, updateViewport;
43 MouseBoxZoomer(Qt::MouseButton button = Qt::LeftButton,
44 Qt::KeyboardModifier modifier = Qt::NoModifier,
bool updateViewport =
true);
45 ~MouseBoxZoomer()
override;
46 bool draw(GlMainWidget *)
override;
47 bool eventFilter(QObject *, QEvent *)
override;