'Allow user to drop supported files'

def dropEvent(self, event):

    urls = mimedata2url(event.mimeData())
    if urls:
        event.setDropAction(Qt.CopyAction)
        event.accept()
        self.sig_files_dropped.emit(urls)
    else:
        event.ignore()
