comparison 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
comparison
equal deleted inserted replaced
282:4edaff85875d 283:86a112b5b319
68 virtual QString getFeatureDescription(View *v, QPoint &) const; 68 virtual QString getFeatureDescription(View *v, QPoint &) const;
69 69
70 virtual bool snapToFeatureFrame(View *v, int &frame, 70 virtual bool snapToFeatureFrame(View *v, int &frame,
71 size_t &resolution, 71 size_t &resolution,
72 SnapType snap) const; 72 SnapType snap) const;
73
74 virtual void measureDoubleClick(View *, QMouseEvent *);
73 75
74 virtual bool hasLightBackground() const; 76 virtual bool hasLightBackground() const;
75 77
76 void setModel(const DenseTimeValueModel *model); 78 void setModel(const DenseTimeValueModel *model);
77 79