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

The DragDropHandler event filter provides drag and drop functionality to the QuarterWidget. More...

#include <Quarter/devices/DragDropHandler.h>

Inheritance diagram for SIM::Coin3D::Quarter::DragDropHandler:
QObject

Public Member Functions

 DragDropHandler (QuarterWidget *parent)
 

Protected Member Functions

virtual bool eventFilter (QObject *, QEvent *event)
 

Detailed Description

The DragDropHandler event filter provides drag and drop functionality to the QuarterWidget.

Constructor & Destructor Documentation

◆ DragDropHandler()

DragDropHandler::DragDropHandler ( QuarterWidget * parent)

Constructor

See also
QObject::QObject(QObject *)

Member Function Documentation

◆ eventFilter()

bool DragDropHandler::eventFilter ( QObject * ,
QEvent * event )
protectedvirtual

Detects a QDragEnterEvent and if the event is the dropping of a valid Inventor or VRML file it opens the file, reads in the scene graph and calls setSceneGraph on the QuarterWidget


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