X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;fp=vv%2FvvMainWindow.h;h=07f38e5f9f415613c68410f8eb35445a504203b8;hb=8f42f40e826ecc4cc45e08ed41cc5596da74991c;hp=2be7e7584caaf78ad91daf261642d5b343eb7449;hpb=ae51e9bb80bdcd9468718a9473c1e9316cef2fd5;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index 2be7e75..07f38e5 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -21,6 +21,7 @@ #include #include +#include #include "vtkVersion.h" #if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 1) || VTK_MAJOR_VERSION >= 9 #include "ui_vvMainWindow.h" @@ -197,6 +198,10 @@ protected: void createRecentlyOpenedFilesMenu(); void updateRecentlyOpenedFilesMenu(const std::list &files); + // Drag and drop event handlers + virtual void dragEnterEvent(QDragEnterEvent *event); + virtual void dropEvent(QDropEvent *event); + private: //variables