diff view/PaneStack.h @ 312:6de6f78b13a1

* Make it possible to drop audio files, layer files, session files and images onto SV panes. Need to do a bit more work on where we expect the dropped file to go, particularly in the case of audio files -- at the moment they're always opened in new panes, but it may be better to by default replace whatever is in the target pane.
author Chris Cannam
date Wed, 10 Oct 2007 15:18:02 +0000
parents 8acd30ed735c
children 2a50c1ecc990
line wrap: on
line diff
--- a/view/PaneStack.h	Wed Oct 10 10:22:34 2007 +0000
+++ b/view/PaneStack.h	Wed Oct 10 15:18:02 2007 +0000
@@ -78,6 +78,9 @@
     void paneAboutToBeDeleted(Pane *pane);
     void paneDeleted();
 
+    void dropAccepted(Pane *pane, QStringList uriList);
+    void dropAccepted(Pane *pane, QString text);
+
 public slots:
     void propertyContainerAdded(PropertyContainer *);
     void propertyContainerRemoved(PropertyContainer *);
@@ -85,6 +88,8 @@
     void viewSelected(View *v);
     void paneInteractedWith();
     void rightButtonMenuRequested(QPoint);
+    void paneDropAccepted(QStringList);
+    void paneDropAccepted(QString);
 
 protected:
     Pane *m_currentPane;