I've got a custom widget descended from QWidget that I want to be able to drop onto, and while the drag is hovering over the widget I'd like to highlight it to provide a little visual feedback to the user. Seems to me the simplest way to do this would be to highlight when dragEnterEvent is called and unhighlight when the drag exits the widget, but how can I catch the drag exit? There doesn't seem to be a dragExitEvent event handler.
+3
A:
Open Assistant on the Index tab, type "drag*event" and you will find dragLeaveEvent
. :)
Lukáš Lalinský
2009-12-04 17:27:40
Perfect! Thanks!
gct
2009-12-04 17:32:32