Hi everyone,

me again :)

I just implemented the tutorial on this page <http://zetcode.com/gui/pysidetutorial/dragdrop/> into my code as I needed to be able to copy QPushButtons from one widget to another via Drag&Drop. It all works great, accept for the fact that the original button that I drag becomes checked and stays checked after I drop it into the other widget. The example on the above page actually has the same problem accept it doesn't matter in that example.

The QPushButton is not set to be checkable and I've tried using setChecked( False ) on the button both in the dragEnterEvent as well as the dropEvent, but to no avail.

Any ideas how to make the button uncheck itself after it was dropped?


Cheers,
frank
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to