comparison framework/MainWindowBase.h @ 128:09e6016c5436

* Add playback controls to data edit dialog * Make data edit dialog close properly when layer is removed from view * More fixes to playback tracking & selection model in data edit dialog * Remove edit button from data edit dialog for now
author Chris Cannam
date Wed, 18 Jun 2008 15:53:23 +0000
parents d615d0220828
children 4c9c04645685
comparison
equal deleted inserted replaced
127:7ee6da3f2b3c 128:09e6016c5436
305 typedef std::map<View *, DataDialogSet> ViewDataDialogMap; 305 typedef std::map<View *, DataDialogSet> ViewDataDialogMap;
306 306
307 LayerDataDialogMap m_layerDataDialogMap; 307 LayerDataDialogMap m_layerDataDialogMap;
308 ViewDataDialogMap m_viewDataDialogMap; 308 ViewDataDialogMap m_viewDataDialogMap;
309 309
310 void removeLayerEditDialog(Layer *);
311
310 class PaneCallback : public SVFileReaderPaneCallback 312 class PaneCallback : public SVFileReaderPaneCallback
311 { 313 {
312 public: 314 public:
313 PaneCallback(MainWindowBase *mw) : m_mw(mw) { } 315 PaneCallback(MainWindowBase *mw) : m_mw(mw) { }
314 virtual Pane *addPane() { return m_mw->addPaneToStack(); } 316 virtual Pane *addPane() { return m_mw->addPaneToStack(); }
368 virtual void openHelpUrl(QString url); 370 virtual void openHelpUrl(QString url);
369 371
370 virtual void setupMenus() = 0; 372 virtual void setupMenus() = 0;
371 virtual void updateVisibleRangeDisplay(Pane *p) const = 0; 373 virtual void updateVisibleRangeDisplay(Pane *p) const = 0;
372 374
375 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog);
376
373 virtual void toXml(QTextStream &stream); 377 virtual void toXml(QTextStream &stream);
374 }; 378 };
375 379
376 380
377 #endif 381 #endif