]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.h
Merge branch 'drop_files' of https://github.com/m-pilia/vv into m-pilia-drop_files
[clitk.git] / vv / vvMainWindow.h
index 2be7e7584caaf78ad91daf261642d5b343eb7449..07f38e5f9f415613c68410f8eb35445a504203b8 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <iostream>
 #include <vector>
+#include <QDropEvent>
 #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<std::string> &files);
   
+  // Drag and drop event handlers
+  virtual void dragEnterEvent(QDragEnterEvent *event);
+  virtual void dropEvent(QDropEvent *event);
+
 private:
 
   //variables