(self, event)
| 71 | event.acceptProposedAction() |
| 72 | |
| 73 | def dropEvent(self, event): |
| 74 | urls = event.mimeData().urls() |
| 75 | if urls: |
| 76 | file_path = urls[0].toLocalFile() |
| 77 | self.ui.lineEdit.setText(file_path.split('/')[-1]) |
| 78 | self.setWindowTitle('/'.join(file_path.split('/')[0:-1])) |
| 79 | |
| 80 | |
| 81 |
nothing calls this directly
no outgoing calls
no test coverage detected