Quarter  1.2.2
Coin3D GUI binding for Qt
Loading...
Searching...
No Matches
SIM::Coin3D::Quarter::Keyboard Class Reference

The Keyboard class provides translation of keyboard events on the QuarterWidget. More...

#include <Quarter/devices/Keyboard.h>

Inheritance diagram for SIM::Coin3D::Quarter::Keyboard:
SIM::Coin3D::Quarter::InputDevice

Public Member Functions

 Keyboard (QuarterWidget *quarter)
 
virtual const SoEvent * translateEvent (QEvent *event)
 
- Public Member Functions inherited from SIM::Coin3D::Quarter::InputDevice
 InputDevice (QuarterWidget *quarter)
 
void setModifiers (SoEvent *soevent, const QInputEvent *qevent)
 
void setMousePosition (const SbVec2s &pos)
 
void setWindowSize (const SbVec2s &size)
 

Additional Inherited Members

- Protected Attributes inherited from SIM::Coin3D::Quarter::InputDevice
SbVec2s mousepos
 
QuarterWidgetquarter
 
SbVec2s windowsize
 

Detailed Description

The Keyboard class provides translation of keyboard events on the QuarterWidget.

Member Function Documentation

◆ translateEvent()

const SoEvent * Keyboard::translateEvent ( QEvent * event)
virtual

Translates from QKeyEvents to SoKeyboardEvents

Implements SIM::Coin3D::Quarter::InputDevice.


The documentation for this class was generated from the following files: