MeVisLab Toolbox Reference
|
Touchpad device driver for Open Inventor. More...
#include <SoQtTouchpad.h>
Public Types | |
enum | Mask { MAGNIFY = 0x01 , ROTATE = 0x02 , PAN = 0x04 , SWIPE = 0x08 , DOUBLETAP = 0x10 , HOLDWHILEPAN = 0x20 , PINCH = 0x40 , ALL = 0xFF } |
Event mask values. More... | |
Public Member Functions | |
SoQtTouchpad (Mask mask=SoQtTouchpad::ALL) | |
Constructor. More... | |
~SoQtTouchpad () override | |
Destructor. More... | |
virtual const SoEvent * | translateEvent (QEvent *event) override |
This converts a window system event into an SoEvent. More... | |
These functions will enable/disable this device for the passed widget. | |
virtual void | enable (QWidget *w, SoQtEventHandler *f, void *data) override |
virtual void | disable (QWidget *w, SoQtEventHandler *f, void *data) override |
Static Public Member Functions | |
static void | initClass () |
Touchpad device driver for Open Inventor.
...
events ...
Definition at line 44 of file SoQtTouchpad.h.
enum SoQtTouchpad::Mask |
Event mask values.
Bitwise OR these to specify whichEvents this device should queue.
Definition at line 53 of file SoQtTouchpad.h.
SoQtTouchpad::SoQtTouchpad | ( | Mask | mask = SoQtTouchpad::ALL | ) |
Constructor.
|
override |
Destructor.
|
overridevirtual |
|
overridevirtual |
The callback function f
will be invoked when events occur in w
. data
is the clientData which will be passed.
|
static |
|
overridevirtual |
This converts a window system event into an SoEvent.
The function returns NULL if the event is not from this device.