45#include <Inventor/Qt/SoQtBasic.h>
49typedef void SoQtEventHandler(QWidget*,
void *, QEvent*,
bool *);
52#include <X11/Intrinsic.h>
53typedef void SoQtEventHandler(QWidget*, XtPointer, XEvent *, Boolean *);
57typedef gint SoQtEventHandler(QWidget*, QEvent*, gpointer);
61typedef LRESULT SoQtEventHandler(QWidget*, UINT, WPARAM, LPARAM);
65typedef void SoQtEventHandler(QWidget*,
void *, QEvent*,
bool *);
70#include <Inventor/SbLinear.h>
71#include <Inventor/Qt/SoQtObject.h>
83 virtual void enable(QWidget* w, SoQtEventHandler * handler,
void * closure) = 0;
84 virtual void disable(QWidget* w, SoQtEventHandler * handler,
void * closure) = 0;
104 class SoQtDeviceP * pimpl;
105 friend class SoQtDeviceP;
void removeEventHandler(QWidget *, SoQtEventHandler *, void *)
Definition SoQtDeviceCommon.cpp:201
void addEventHandler(QWidget *, SoQtEventHandler *, void *)
Definition SoQtDeviceCommon.cpp:190
void setEventPosition(SoEvent *event, int x, int y) const
Definition SoQtDeviceCommon.cpp:166
virtual void disable(QWidget *w, SoQtEventHandler *handler, void *closure)=0
static void initClasses(void)
Definition SoQtDeviceCommon.cpp:127
static SbVec2s getLastEventPosition(void)
Definition SoQtDeviceCommon.cpp:177
void setWindowSize(const SbVec2s size)
Definition SoQtDeviceCommon.cpp:145
virtual const SoEvent * translateEvent(QEvent *event)=0
SbVec2s getWindowSize(void) const
Definition SoQtDeviceCommon.cpp:154
void invokeHandlers(QEvent *event)
Definition SoQtDevice.cpp:74
virtual void enable(QWidget *w, SoQtEventHandler *handler, void *closure)=0
SoQtDevice(void)
Definition SoQtDevice.cpp:61
The SoQtObject class is the common superclass for all SoQt component classes.
Definition SoQtObject.h:48