Quarter  1.2.2
Coin3D GUI binding for Qt
Loading...
Searching...
No Matches
SIM::Coin3D::Quarter::EventFilter Class Reference
Inheritance diagram for SIM::Coin3D::Quarter::EventFilter:
QObject

Public Member Functions

 EventFilter (QObject *parent)
 
const QPoint & globalMousePosition (void) const
 
void registerInputDevice (InputDevice *device)
 
void unregisterInputDevice (InputDevice *device)
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event)
 

Member Function Documentation

◆ eventFilter()

bool EventFilter::eventFilter ( QObject * obj,
QEvent * qevent )
protected

Translates Qt Events into Coin events and passes them on to the event QuarterWidget for processing. If the event cannot be translated or processed, it is forwarded to Qt and the method returns false.

◆ globalMousePosition()

const QPoint & EventFilter::globalMousePosition ( void ) const

Returns mouse position in global coordinates

◆ registerInputDevice()

void EventFilter::registerInputDevice ( InputDevice * device)

Adds a device for event translation

◆ unregisterInputDevice()

void EventFilter::unregisterInputDevice ( InputDevice * device)

Removes a device from event translation


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