Mercurial > hg > svapp
comparison 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 |
comparison
equal
deleted
inserted
replaced
122:ab861544f998 | 123:74dd55646f52 |
---|---|
55 class QTreeView; | 55 class QTreeView; |
56 class QPushButton; | 56 class QPushButton; |
57 class OSCMessage; | 57 class OSCMessage; |
58 class KeyReference; | 58 class KeyReference; |
59 class Labeller; | 59 class Labeller; |
60 class ModelDataTableDialog; | |
60 | 61 |
61 /** | 62 /** |
62 * The base class for the SV main window. This includes everything to | 63 * The base class for the SV main window. This includes everything to |
63 * do with general document and pane stack management, but nothing | 64 * do with general document and pane stack management, but nothing |
64 * that involves user interaction -- this doesn't create the widget or | 65 * that involves user interaction -- this doesn't create the widget or |
169 virtual void rewindStart(); | 170 virtual void rewindStart(); |
170 virtual void stop(); | 171 virtual void stop(); |
171 | 172 |
172 virtual void deleteCurrentPane(); | 173 virtual void deleteCurrentPane(); |
173 virtual void deleteCurrentLayer(); | 174 virtual void deleteCurrentLayer(); |
175 virtual void editCurrentLayer(); | |
174 | 176 |
175 virtual void previousPane(); | 177 virtual void previousPane(); |
176 virtual void nextPane(); | 178 virtual void nextPane(); |
177 virtual void previousLayer(); | 179 virtual void previousLayer(); |
178 virtual void nextLayer(); | 180 virtual void nextLayer(); |
295 const WaveFileModel *getMainModel() const; | 297 const WaveFileModel *getMainModel() const; |
296 void createDocument(); | 298 void createDocument(); |
297 | 299 |
298 Pane *addPaneToStack(); | 300 Pane *addPaneToStack(); |
299 Layer *getSnapLayer() const; | 301 Layer *getSnapLayer() const; |
302 | |
303 typedef std::map<Layer *, ModelDataTableDialog *> LayerDataDialogMap; | |
304 typedef std::set<ModelDataTableDialog *> DataDialogSet; | |
305 typedef std::map<View *, DataDialogSet> ViewDataDialogMap; | |
306 | |
307 LayerDataDialogMap m_layerDataDialogMap; | |
308 ViewDataDialogMap m_viewDataDialogMap; | |
300 | 309 |
301 class PaneCallback : public SVFileReaderPaneCallback | 310 class PaneCallback : public SVFileReaderPaneCallback |
302 { | 311 { |
303 public: | 312 public: |
304 PaneCallback(MainWindowBase *mw) : m_mw(mw) { } | 313 PaneCallback(MainWindowBase *mw) : m_mw(mw) { } |