Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
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 SoEventtranslateEvent (QEvent *event)
 
- Public Member Functions inherited from SIM::Coin3D::Quarter::InputDevice
 InputDevice (QuarterWidget *quarter)
 
void setMousePosition (const SbVec2s &pos)
 
void setWindowSize (const SbVec2s &size)
 
void setModifiers (SoEvent *soevent, const QInputEvent *qevent)
 

Additional Inherited Members

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

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: