Determines if the widget under the mouse can recieve the drop

def dragEnterEvent(self, event):
        """Determines if the widget under the mouse can recieve the drop"""
        super(AbstractDragView, self).dragEnterEvent(event)
        if event.mimeData().hasFormat("application/x-protocol"):
            event.setDropAction(QtCore.Qt.MoveAction)
            event.accept()
        else:
            event.ignore()