JPNaude/Qtilities — Issue #39: Improve ObserverWidget's drag/drop functionality
Author: JPNaude
Created: 2012-01-18 06:02:00+00:00
State: open

In v1.0 the eventFilter() handling the drag/drops was not working properly. It worked, but as soon as you had another eventFilter() handling drag/drops on the ObserverWidget, it did always let the event through when it should not be filtered.

The solution is to fix the filter and to add the ability to specify the Qt::MouseButton to use for both copy and move operations. Setting either button to Qt::NoButton disables event filtering for the applicable operation.