Quarter
1.2.2
Coin3D GUI binding for Qt
|
The DragDropHandler event filter provides drag and drop functionality to the QuarterWidget. More...
#include <Quarter/devices/DragDropHandler.h>
Public Member Functions | |
DragDropHandler (QuarterWidget *parent) | |
Protected Member Functions | |
virtual bool | eventFilter (QObject *, QEvent *event) |
The DragDropHandler event filter provides drag and drop functionality to the QuarterWidget.
DragDropHandler::DragDropHandler | ( | QuarterWidget * | parent | ) |
Constructor
|
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