Categories
How to catch drag and drop event in pyqt5?
Let's say we can catch the click of the clicked.connect button, but how to catch the drag and drop?
Answer the question
In order to leave comments, you need to log in
Set handlers for two events: dragEnterEvent - sent to the widget when a captured element is hovered over dropEvent - sent to the widget when the dragged element is "dropped" onto the widget
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question