Mercurial > hg > sonic-visualiser
diff main/MainWindow.h @ 66:cf27fc7feb7a
* Add Pane menu entries for generating spectrogram etc from non-main models
* Some restructuring of MainWindow menu setup code
author | Chris Cannam |
---|---|
date | Fri, 20 Oct 2006 16:47:13 +0000 |
parents | 77c083741589 |
children | 76cc2c424268 |
line wrap: on
line diff
--- a/main/MainWindow.h Thu Oct 19 09:57:27 2006 +0000 +++ b/main/MainWindow.h Fri Oct 20 16:47:13 2006 +0000 @@ -243,9 +243,11 @@ struct PaneConfiguration { PaneConfiguration(LayerFactory::LayerType _layer = LayerFactory::TimeRuler, + Model *_source = 0, int _channel = -1) : - layer(_layer), channel(_channel) { } + layer(_layer), sourceModel(_source), channel(_channel) { } LayerFactory::LayerType layer; + Model *sourceModel; int channel; }; @@ -268,8 +270,15 @@ ToolActionMap m_toolActions; void setupMenus(); + void setupFileMenu(); + void setupEditMenu(); + void setupViewMenu(); + void setupPaneAndLayerMenus(); + void setupTransformsMenu(); + void setupHelpMenu(); void setupExistingLayersMenu(); void setupToolbars(); + Pane *addPaneToStack(); class PaneCallback : public SVFileReaderPaneCallback