comparison main/MainWindow.cpp @ 160:10700f059548

* Fix up and simplify the LayerTreeModel, removing a horrible memory leak * Move phase-unwrapped frequency estimation from SpectrogramLayer to FFTDataServer * Make the spectrum show peak phase-unwrapped frequencies as well (still needs work) * Start adding piano keyboard horizontal scale to spectrum * Debug output for id3 tags
author Chris Cannam
date Tue, 03 Jul 2007 12:46:18 +0000
parents c07759e19346
children 39dda80acb10
comparison
equal deleted inserted replaced
159:c07759e19346 160:10700f059548
4248 MainWindow::showLayerTree() 4248 MainWindow::showLayerTree()
4249 { 4249 {
4250 QTreeView *view = new QTreeView(); 4250 QTreeView *view = new QTreeView();
4251 LayerTreeModel *tree = new LayerTreeModel(m_paneStack); 4251 LayerTreeModel *tree = new LayerTreeModel(m_paneStack);
4252 view->setModel(tree); 4252 view->setModel(tree);
4253 // view->expand(tree->index(0, 0, QModelIndex()));
4254 view->expandAll(); 4253 view->expandAll();
4254 view->resize(500, 300); //!!!
4255 view->show(); 4255 view->show();
4256 } 4256 }
4257 4257
4258 void 4258 void
4259 MainWindow::pollOSC() 4259 MainWindow::pollOSC()