Also send DnD events through the event filter interface

This commit is contained in:
Sergio Martins
2022-07-04 23:37:22 +01:00
parent 8edf8737ce
commit 74e9cc94e6
3 changed files with 38 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include <memory>
class QMouseEvent;
class QEvent;
namespace KDDockWidgets {
@@ -62,6 +63,12 @@ public:
{
return false;
}
/// @brief Override to handle drag enter, drag leave, drag move and drop events
virtual bool onDnDEvent(View *, QEvent *)
{
return false;
}
};
}