Mercurial > hg > svcore
changeset 32:5e28cbb431d0
* Improvements to text layer editing, and implement file I/O for it
* Start some fixes to spectrogram frequency computation
author | Chris Cannam |
---|---|
date | Mon, 20 Feb 2006 17:23:40 +0000 |
parents | 4afaf0df4d51 |
children | 51e158b505da |
files | base/Layer.cpp base/Layer.h base/ViewManager.h |
diffstat | 3 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/base/Layer.cpp Mon Feb 20 13:33:36 2006 +0000 +++ b/base/Layer.cpp Mon Feb 20 17:23:40 2006 +0000 @@ -78,7 +78,7 @@ PlayParameters * Layer::getPlayParameters() { - std::cerr << "Layer (" << this << ", " << objectName().toStdString() << ")::getPlayParameters: model is "<< getModel() << std::endl; +// std::cerr << "Layer (" << this << ", " << objectName().toStdString() << ")::getPlayParameters: model is "<< getModel() << std::endl; const Model *model = getModel(); if (model) { return PlayParameterRepository::instance()->getPlayParameters(model);
--- a/base/Layer.h Mon Feb 20 13:33:36 2006 +0000 +++ b/base/Layer.h Mon Feb 20 17:23:40 2006 +0000 @@ -117,6 +117,8 @@ virtual void editDrag(QMouseEvent *) { } virtual void editEnd(QMouseEvent *) { } + virtual void editOpen(QMouseEvent *) { } // on double-click + // Text mode: // // Label nearest feature. We need to get the feature coordinates