Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 283:86a112b5b319
* Make it possible to "measure" a feature on the spectrogram by double-
clicking in measure mode
* Make shift-click-drag (for zoom to region) work in measure mode as well
as navigate mode. It would be nice to be able to shift-doubleclick to
zoom on a feature directly using a combination of these last two features,
but that isn't possible yet.
* Make Del delete the measurement under the mouse pointer.
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2007 15:36:37 +0000 |
parents | 8acd30ed735c |
children | cd2492c5fe45 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Thu Jul 05 11:07:01 2007 +0000 +++ b/layer/SpectrogramLayer.h Thu Jul 05 15:36:37 2007 +0000 @@ -71,6 +71,8 @@ size_t &resolution, SnapType snap) const; + virtual void measureDoubleClick(View *, QMouseEvent *); + virtual bool hasLightBackground() const; void setModel(const DenseTimeValueModel *model);