Gui::SceneEventFilter Class Reference

#include <GLGraphicsView.h>

Classes

class  Private
 

Public Member Functions

const QPoint & globalMousePosition (void) const
 
void registerInputDevice (SIM::Coin3D::Quarter::InputDevice *device)
 
 SceneEventFilter (QObject *parent)
 
void unregisterInputDevice (SIM::Coin3D::Quarter::InputDevice *device)
 
 ~SceneEventFilter ()
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event)
 

Constructor & Destructor Documentation

◆ SceneEventFilter()

SceneEventFilter::SceneEventFilter ( QObject parent)

◆ ~SceneEventFilter()

SceneEventFilter::~SceneEventFilter ( )

Member Function Documentation

◆ eventFilter()

bool SceneEventFilter::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 can not be translated or processed, it is forwarded to Qt and the method returns false.

◆ globalMousePosition()

const QPoint & SceneEventFilter::globalMousePosition ( void  ) const

Returns mouse position in global coordinates

◆ registerInputDevice()

void SceneEventFilter::registerInputDevice ( SIM::Coin3D::Quarter::InputDevice *  device)

Adds a device for event translation

◆ unregisterInputDevice()

void SceneEventFilter::unregisterInputDevice ( SIM::Coin3D::Quarter::InputDevice *  device)

Removes a device from event translation


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