comparison 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
comparison
equal deleted inserted replaced
94:5828afd1d229 95:2678a1f132d2
255 bool m_mainMenusCreated; 255 bool m_mainMenusCreated;
256 QMenu *m_paneMenu; 256 QMenu *m_paneMenu;
257 QMenu *m_layerMenu; 257 QMenu *m_layerMenu;
258 QMenu *m_transformsMenu; 258 QMenu *m_transformsMenu;
259 QMenu *m_existingLayersMenu; 259 QMenu *m_existingLayersMenu;
260 QMenu *m_sliceMenu;
260 QMenu *m_recentFilesMenu; 261 QMenu *m_recentFilesMenu;
261 QMenu *m_recentTransformsMenu; 262 QMenu *m_recentTransformsMenu;
262 QMenu *m_rightButtonMenu; 263 QMenu *m_rightButtonMenu;
263 QMenu *m_rightButtonLayerMenu; 264 QMenu *m_rightButtonLayerMenu;
264 QMenu *m_rightButtonTransformsMenu; 265 QMenu *m_rightButtonTransformsMenu;
295 typedef std::map<QAction *, LayerFactory::LayerType> LayerActionMap; 296 typedef std::map<QAction *, LayerFactory::LayerType> LayerActionMap;
296 LayerActionMap m_layerActions; 297 LayerActionMap m_layerActions;
297 298
298 typedef std::map<QAction *, Layer *> ExistingLayerActionMap; 299 typedef std::map<QAction *, Layer *> ExistingLayerActionMap;
299 ExistingLayerActionMap m_existingLayerActions; 300 ExistingLayerActionMap m_existingLayerActions;
301 ExistingLayerActionMap m_sliceActions;
300 302
301 typedef std::map<ViewManager::ToolMode, QAction *> ToolActionMap; 303 typedef std::map<ViewManager::ToolMode, QAction *> ToolActionMap;
302 ToolActionMap m_toolActions; 304 ToolActionMap m_toolActions;
303 305
304 void setupMenus(); 306 void setupMenus();
306 void setupEditMenu(); 308 void setupEditMenu();
307 void setupViewMenu(); 309 void setupViewMenu();
308 void setupPaneAndLayerMenus(); 310 void setupPaneAndLayerMenus();
309 void setupTransformsMenu(); 311 void setupTransformsMenu();
310 void setupHelpMenu(); 312 void setupHelpMenu();
311 void setupExistingLayersMenu(); 313 void setupExistingLayersMenus();
312 void setupToolbars(); 314 void setupToolbars();
313 315
314 Pane *addPaneToStack(); 316 Pane *addPaneToStack();
315 317
316 void addPane(const PaneConfiguration &configuration, QString text); 318 void addPane(const PaneConfiguration &configuration, QString text);