changeset 319:2a50c1ecc990

* Split MainWindow out into MainWindowBase (pane stack management, basic file I/O etc) and MainWindow (widget structure, menus and actions etc)
author Chris Cannam
date Mon, 22 Oct 2007 14:24:31 +0000
parents e9fe3923bdf4
children 984c1975f1ff
files view/PaneStack.cpp view/PaneStack.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/view/PaneStack.cpp	Thu Oct 18 16:20:26 2007 +0000
+++ b/view/PaneStack.cpp	Mon Oct 22 14:24:31 2007 +0000
@@ -285,6 +285,8 @@
     }
 
     std::cerr << "WARNING: PaneStack::hidePane(" << pane << "): Pane not found in visible panes" << std::endl;
+    emit paneHidden(pane);
+    emit paneHidden();
 }
 
 void
--- a/view/PaneStack.h	Thu Oct 18 16:20:26 2007 +0000
+++ b/view/PaneStack.h	Mon Oct 22 14:24:31 2007 +0000
@@ -75,6 +75,8 @@
 
     void paneAdded(Pane *pane);
     void paneAdded();
+    void paneHidden(Pane *pane);
+    void paneHidden();
     void paneAboutToBeDeleted(Pane *pane);
     void paneDeleted();