MCPcopy Create free account
hub / github.com/Tokeii0/VolatilityPro / dropEvent

Method dropEvent

QtGUI_run.py:73–78  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected