From b4e92e97515d58a79997c2ab2ce04bca769938b2 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Mon, 12 Jun 2006 15:20:44 +0000 Subject: [PATCH] Initial Dragdrop support (still not working,,,) --- src/meshlab/mainwindow.h | 7 +++++-- src/meshlab/mainwindow_Init.cpp | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/meshlab/mainwindow.h b/src/meshlab/mainwindow.h index 43973cb41..360aa2092 100644 --- a/src/meshlab/mainwindow.h +++ b/src/meshlab/mainwindow.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log$ +Revision 1.64 2006/06/12 15:20:44 cignoni +Initial Dragdrop support (still not working,,,) + Revision 1.63 2006/05/25 04:57:45 cignoni Major 0.7 release. A lot of things changed. Colorize interface gone away, Editing and selection start to work. Optional data really working. Clustering decimation totally rewrote. History start to work. Filters organized in classes. @@ -139,8 +142,8 @@ private slots: void about(); void aboutPlugins(); - - + void dropEvent ( QDropEvent * event ); + void dragEnterEvent(QDragEnterEvent *); private: void createActions(); diff --git a/src/meshlab/mainwindow_Init.cpp b/src/meshlab/mainwindow_Init.cpp index 99db95e3c..baa45cb34 100644 --- a/src/meshlab/mainwindow_Init.cpp +++ b/src/meshlab/mainwindow_Init.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.55 2006/06/12 15:20:44 cignoni +Initial Dragdrop support (still not working,,,) + Revision 1.54 2006/05/26 04:09:52 cignoni Still debugging 0.7 @@ -92,7 +95,8 @@ MainWindow::MainWindow() createMenus(); createToolBars(); updateMenus(); - + setAcceptDrops(true); + workspace->setAcceptDrops(true); setWindowTitle(appName()); loadPlugins(); qb=new QProgressDialog(this);