comparison 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
comparison
equal deleted inserted replaced
311:fee76aa923d8 312:6de6f78b13a1
76 void paneAdded(Pane *pane); 76 void paneAdded(Pane *pane);
77 void paneAdded(); 77 void paneAdded();
78 void paneAboutToBeDeleted(Pane *pane); 78 void paneAboutToBeDeleted(Pane *pane);
79 void paneDeleted(); 79 void paneDeleted();
80 80
81 void dropAccepted(Pane *pane, QStringList uriList);
82 void dropAccepted(Pane *pane, QString text);
83
81 public slots: 84 public slots:
82 void propertyContainerAdded(PropertyContainer *); 85 void propertyContainerAdded(PropertyContainer *);
83 void propertyContainerRemoved(PropertyContainer *); 86 void propertyContainerRemoved(PropertyContainer *);
84 void propertyContainerSelected(View *client, PropertyContainer *); 87 void propertyContainerSelected(View *client, PropertyContainer *);
85 void viewSelected(View *v); 88 void viewSelected(View *v);
86 void paneInteractedWith(); 89 void paneInteractedWith();
87 void rightButtonMenuRequested(QPoint); 90 void rightButtonMenuRequested(QPoint);
91 void paneDropAccepted(QStringList);
92 void paneDropAccepted(QString);
88 93
89 protected: 94 protected:
90 Pane *m_currentPane; 95 Pane *m_currentPane;
91 96
92 struct PaneRec 97 struct PaneRec