Generall Drag/Drop interface

This commit is contained in:
jriegel
2014-02-02 21:18:08 +01:00
committed by Stefan Tröger
parent a366ae60e4
commit be619b3e7d
6 changed files with 102 additions and 4 deletions

View File

@@ -247,3 +247,11 @@ PyObject* ViewProviderDocumentObject::getPyObject()
pyViewObject->IncRef();
return pyViewObject;
}
bool ViewProviderDocumentObject::allowDrop(const std::vector<const App::DocumentObject*> &objList,Qt::KeyboardModifiers keys,Qt::MouseButtons mouseBts,const QPoint &pos)
{
return false;
}
void ViewProviderDocumentObject::drop(const std::vector<const App::DocumentObject*> &objList,Qt::KeyboardModifiers keys,Qt::MouseButtons mouseBts,const QPoint &pos)
{
}