28#include <Inventor/Qt/OivQtCompat.h>
29#include <Inventor/Qt/devices/SoQtDevice.h>
30#include <Inventor/events/SoLocation2Event.h>
31#include <Inventor/events/SoMouseButtonEvent.h>
32#include <Inventor/events/SoMouseWheelEvent.h>
34#define SO_QT_ALL_MOUSE_EVENTS \
35 (ButtonPressMask | ButtonReleaseMask | \
36 PointerMotionMask | ButtonMotionMask)
85 virtual void enable(QWidget *w, XtEventHandler f,
XtPointer data,
void *unused=NULL);
Base class for all events.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Translates and r...
virtual const SoEvent * translateEvent(QEvent *event)
Attempts to convert the passed event into an SoEvent.
virtual void disable(QWidget *w, XtEventHandler f, XtPointer data)
Disables the device for the passed widget.
SoQtMouse(EventMask mask=SO_QT_ALL_MOUSE_EVENTS)
Constructor.
virtual void enable(QWidget *w, XtEventHandler f, XtPointer data, void *unused=NULL)
Enables the device for the passed widget.