Yes. Reimplement dragEnterEvent and dropEvent for the button. Just make sure you only accept move actions (or delete the item in the dropEvent).