Mercurial > hg > svapp
diff framework/MainWindowBase.h @ 123:74dd55646f52
* A bit more work on the data editor
author | Chris Cannam |
---|---|
date | Wed, 11 Jun 2008 12:54:18 +0000 |
parents | 0c1ea5ff6518 |
children | d615d0220828 |
line wrap: on
line diff
--- a/framework/MainWindowBase.h Fri Jun 06 10:32:50 2008 +0000 +++ b/framework/MainWindowBase.h Wed Jun 11 12:54:18 2008 +0000 @@ -57,6 +57,7 @@ class OSCMessage; class KeyReference; class Labeller; +class ModelDataTableDialog; /** * The base class for the SV main window. This includes everything to @@ -171,6 +172,7 @@ virtual void deleteCurrentPane(); virtual void deleteCurrentLayer(); + virtual void editCurrentLayer(); virtual void previousPane(); virtual void nextPane(); @@ -298,6 +300,13 @@ Pane *addPaneToStack(); Layer *getSnapLayer() const; + typedef std::map<Layer *, ModelDataTableDialog *> LayerDataDialogMap; + typedef std::set<ModelDataTableDialog *> DataDialogSet; + typedef std::map<View *, DataDialogSet> ViewDataDialogMap; + + LayerDataDialogMap m_layerDataDialogMap; + ViewDataDialogMap m_viewDataDialogMap; + class PaneCallback : public SVFileReaderPaneCallback { public: