24# include <QApplication>
26#include <Inventor/Qt/OivQtCompat.h>
27#include <Inventor/Qt/SoQt.h>
30#define ExtEventApplication SoQtExtEventApplication
47 void*
data() {
return m_data; }
QCustomEvent no longer exists in full Qt4 so we have to subclass QEvent to provide our own custom eve...
ExtEvent(QEvent::Type type, void *data)
Constructor.
void setData(void *data)
Sets the data sent with the event.
void * data()
Returns the data sent with the event.
Overload the QApplication to be able to get devices events like SpaceMouse.
static void allEventFilter(XEvent *event)
SoQtExtEventApplication(int &argc, char **argv)
Constructor.