[Qt-interest] Can't receive QDropEvent on QListWidget

Ying Ma y.ma at trinite.nl
Tue Dec 16 17:34:48 CET 2008


 Research & Development

________________________________________________________________________
You need to look for the event on the viewport() of the QListWidget.
Depending on the nature of your code, you may need to install an event
filter on the viewport to catch the event.
----------------------------------------------------------------------------------------------------------------------------------------

Hi,

    I checked with viewportEvent(). Unfortunately, it still didn't help.
It seems the viewport()
doesn't receive QDropEvent but only QDragEnterEvent, QDragMoveEvent and
other event.
I still don't get the problem. Help!

    Ying Ma








Ying Ma
Trinité Automatisering
B.V.
Tel. : 0297 382460
               
Post-adres:  Postbus 189
Direct: -
Research & Development
1420 AD Uithoorn,
Nederland
Fax : 0297 273049
             
Bezoek-adres: J.N.
Wagenaarweg 6
Email: y.ma at trinite.nl
       
1422 AK Uithoorn,
Nederland
Website: www.trinite.nl



________________________________________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081216/ea1b161f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: banner.png
Type: image/png
Size: 46892 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081216/ea1b161f/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Trinilogo.jpg
Type: image/jpeg
Size: 4968 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081216/ea1b161f/attachment.jpg 


More information about the Qt-interest-old mailing list