[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] possible to change the execute drag type?
From:       danny <shevitz () lanl ! gov>
Date:       2010-10-27 16:52:27
Message-ID: loom.20101027T185200-134 () post ! gmane ! org
[Download RAW message or body]

I found my own answer.

It turns out that dropMimeData is called within dropEvent, so the solution
was to override dropEvent and call event.setDropAction(Qt.MoveAction) after
the base class implementation. 

D





_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic