[Qt-interest] Can't receive QDropEvent

Frank Mertens frank at cyblogic.de
Fri Dec 19 18:03:09 CET 2008


Ying Ma wrote:
>  Research & Development
> 
> ________________________________________________________________________
> 
> Hello,
> 
>     Still the same problem as yesterday. The QListWidget only receives
> QDragEnterEvent, QDragMoveEvent and QDragLeaveEvent but not the
> QDropEvent. any ideas to solve this problem?
> 
>     Thank you very much in advance!
>     Regards,
> 
>     Ying Ma

Have you set "setAcceptDrops(true)"? No typo in event handler name?
No idea what else could go wrong. When I'm loosing events I usually
inspect the event flows by event filters.

--
Frank




More information about the Qt-interest-old mailing list