-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag and Drop #39
Comments
We have drop events in #83 |
Maybe they are luxury at first. :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://doc.qt.io/qtforpython-6/overviews/dnd.html#drag-and-drop
https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QWidget.html#PySide6.QtWidgets.PySide6.QtWidgets.QWidget.acceptDrops
I think the best way to support this would be to add an
on_drop
prop to theView
.pyedifice/edifice/base_components.py
Line 1463 in 943bf85
Then we can put a
View
around any region which we want to be droppable.Maybe we also need the other events,
QDragEnterEvent
,QDragMoveEvent
,QDragLeaveEvent
.The text was updated successfully, but these errors were encountered: