code: def startDrag(self, dropActions):
          
          data = QMimeData()
          data.setUrls([QUrl(fname) for fname in self.get_selected_filenames()])
          drag = QDrag(self)
          drag.setMimeData(data)
          drag.exec_()
docs: Reimplement Qt Method - handle drag event