1 #ifndef SOQT_KEYBOARD_H
2 #define SOQT_KEYBOARD_H
38 #include <Inventor/Qt/devices/SoQtDevice.h>
40 class SoKeyboardEvent;
44 #define SO_QT_ALL_KEYBOARD_EVENTS SoQtKeyboard::ALL
53 ALL_EVENTS = KEY_PRESS | KEY_RELEASE
59 virtual void enable(QWidget * widget, SoQtEventHandler * handler,
void * closure);
60 virtual void disable(QWidget * widget, SoQtEventHandler * handler,
void * closure);
65 class SoQtKeyboardP * pimpl;
66 friend class SoQtKeyboardP;
67 friend class SoGuiKeyboardP;
The SoQtDevice class is the base class for the translation devices.
Definition: SoQtDevice.h:73
virtual void disable(QWidget *w, SoQtEventHandler *handler, void *closure)=0
virtual const SoEvent * translateEvent(QEvent *event)=0
virtual void enable(QWidget *w, SoQtEventHandler *handler, void *closure)=0
The SoQtKeyboard class is the keyboard input device abstraction.
Definition: SoQtKeyboard.h:46
Events
Definition: SoQtKeyboard.h:50