comparison framework/MainWindowBase.cpp @ 125:e4635503a6d2

* Add more data-editor support to various models
author Chris Cannam
date Thu, 12 Jun 2008 14:33:45 +0000
parents bfa6b0582acb
children d615d0220828
comparison
equal deleted inserted replaced
124:bfa6b0582acb 125:e4635503a6d2
1948 m_layerDataDialogMap[layer]->show(); 1948 m_layerDataDialogMap[layer]->show();
1949 m_layerDataDialogMap[layer]->raise(); 1949 m_layerDataDialogMap[layer]->raise();
1950 return; 1950 return;
1951 } 1951 }
1952 1952
1953 ModelDataTableDialog *dialog = new ModelDataTableDialog(tabular); 1953 QString title = layer->getLayerPresentationName();
1954 // dialog->setAttribute(Qt::WA_DeleteOnClose); //!!! how to manage this? 1954
1955 ModelDataTableDialog *dialog = new ModelDataTableDialog(tabular, title, this);
1955 1956
1956 connect(m_viewManager, 1957 connect(m_viewManager,
1957 SIGNAL(globalCentreFrameChanged(unsigned long)), 1958 SIGNAL(globalCentreFrameChanged(unsigned long)),
1958 dialog, 1959 dialog,
1959 SLOT(scrollToFrameRequested(unsigned long))); 1960 SLOT(scrollToFrameRequested(unsigned long)));