2015-09-27 16:18:22 +02:00
|
|
|
#ifndef CSV_RENDER_INSTANCEMODE_H
|
|
|
|
#define CSV_RENDER_INSTANCEMODE_H
|
|
|
|
|
|
|
|
#include "editmode.hpp"
|
|
|
|
|
|
|
|
namespace CSVRender
|
|
|
|
{
|
|
|
|
class InstanceMode : public EditMode
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
InstanceMode (WorldspaceWidget *worldspaceWidget, QWidget *parent = 0);
|
|
|
|
|
|
|
|
virtual void primaryEditPressed (osg::ref_ptr<TagBase> tag);
|
|
|
|
|
|
|
|
virtual void secondaryEditPressed (osg::ref_ptr<TagBase> tag);
|
|
|
|
|
2015-10-29 11:20:06 +01:00
|
|
|
virtual void primarySelectPressed (osg::ref_ptr<TagBase> tag);
|
|
|
|
|
|
|
|
virtual void secondarySelectPressed (osg::ref_ptr<TagBase> tag);
|
2016-01-10 08:56:15 +01:00
|
|
|
|
|
|
|
virtual void dragEnterEvent (QDragEnterEvent *event);
|
|
|
|
|
|
|
|
virtual void dropEvent (QDropEvent* event);
|
2015-09-27 16:18:22 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|