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

The Mouse class provides translation of mouse events on the QuarterWidget. More...

#include <Quarter/devices/Mouse.h>

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

Public Member Functions

 Mouse (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 Mouse class provides translation of mouse events on the QuarterWidget.

Member Function Documentation

◆ translateEvent()

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

Translates from QMouseEvents to SoLocation2Events and SoMouseButtonEvents

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


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