16#ifndef __SoQtTouchpad_H
17#define __SoQtTouchpad_H
20#include <Inventor/Qt/SoQt.h>
21#include <Inventor/Qt/devices/SoQtSubDevice.h>
29#include <Inventor/events/SoMouseButtonEvent.h>
32#include <Inventor/fields/SoSFBool.h>
46 SO_QT_DEVICE_HEADER();
100 Qt::GestureType doubleTapGestureType;
101 Qt::GestureType holdWhilePanGestureType;
102 Qt::GestureType newPinchGestureType;
103 Qt::GestureType newPanGestureType;
104 Qt::GestureType panNoDelayGestureType;
106 static std::set<SoQtTouchpad *> activeInstances;
110 SoEvent *currentEvent;
A SoHoldWhilePanGestureEvent derived from SoGestureEvent.
A SoMagnify2GestureEvent derived from SoGestureEvent.
A SoMultiTapGestureEvent derived from SoGestureEvent.
A SoPan2GestureEvent derived from SoGestureEvent.
A SoPinch2GestureEvent derived from SoGestureEvent.
A SoRotate2GestureEvent derived from SoGestureEvent.
A SoSwipe2GestureEvent derived from SoGestureEvent.
A SoHoldWhilePanGestureEvent derived from SoGestureEvent.
A SoMagnify2GestureEvent derived from SoGestureEvent.
A SoMultiTapGestureEvent derived from SoGestureEvent.
A SoPan2GestureEvent derived from SoGestureEvent.
A SoPinch2GestureEvent derived from SoGestureEvent.
Touchpad device driver for Open Inventor.
~SoQtTouchpad() override
Destructor.
virtual void enable(QWidget *w, SoQtEventHandler *f, void *data) override
virtual const SoEvent * translateEvent(QEvent *event) override
This converts a window system event into an SoEvent.
virtual void disable(QWidget *w, SoQtEventHandler *f, void *data) override
@ ALL
All Touchpad events.
SoQtTouchpad(Mask mask=SoQtTouchpad::ALL)
Constructor.
A SoRotate2GestureEvent derived from SoGestureEvent.
A SoSwipe2GestureEvent derived from SoGestureEvent.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.