Mercurial > hg > sonic-visualiser
diff main/MainWindow.h @ 95:2678a1f132d2
* Add slice layers (so you can display a slice of a colour 3d plot as if it were
a spectrum)
* Make spectrum layer a subclass of slice layer
author | Chris Cannam |
---|---|
date | Fri, 26 Jan 2007 16:59:57 +0000 |
parents | 51ea003f8f99 |
children | dd11619b73ba |
line wrap: on
line diff
--- a/main/MainWindow.h Thu Jan 25 17:41:00 2007 +0000 +++ b/main/MainWindow.h Fri Jan 26 16:59:57 2007 +0000 @@ -257,6 +257,7 @@ QMenu *m_layerMenu; QMenu *m_transformsMenu; QMenu *m_existingLayersMenu; + QMenu *m_sliceMenu; QMenu *m_recentFilesMenu; QMenu *m_recentTransformsMenu; QMenu *m_rightButtonMenu; @@ -297,6 +298,7 @@ typedef std::map<QAction *, Layer *> ExistingLayerActionMap; ExistingLayerActionMap m_existingLayerActions; + ExistingLayerActionMap m_sliceActions; typedef std::map<ViewManager::ToolMode, QAction *> ToolActionMap; ToolActionMap m_toolActions; @@ -308,7 +310,7 @@ void setupPaneAndLayerMenus(); void setupTransformsMenu(); void setupHelpMenu(); - void setupExistingLayersMenu(); + void setupExistingLayersMenus(); void setupToolbars(); Pane *addPaneToStack();