comparison layer/SpectrogramLayer.h @ 590:241929c5d57c sonification

Check the scale width in the View (which has access to it); ask the layer to do something when the user clicks in the scale regardless of the edit mode, and continue with normal processing if the layer has nothing interesting to do
author Chris Cannam
date Fri, 24 Jun 2011 14:27:32 +0100
parents 7ebd5a21d74f
children
comparison
equal deleted inserted replaced
589:7ebd5a21d74f 590:241929c5d57c
225 virtual void setVerticalZoomStep(int); 225 virtual void setVerticalZoomStep(int);
226 virtual RangeMapper *getNewVerticalZoomRangeMapper() const; 226 virtual RangeMapper *getNewVerticalZoomRangeMapper() const;
227 227
228 virtual const Model *getSliceableModel() const; 228 virtual const Model *getSliceableModel() const;
229 229
230 virtual void processMouseEvent(const View *, QMouseEvent *, int); 230 virtual bool scaleClicked(const View *, QMouseEvent *);
231 231
232 protected slots: 232 protected slots:
233 void cacheInvalid(); 233 void cacheInvalid();
234 void cacheInvalid(size_t startFrame, size_t endFrame); 234 void cacheInvalid(size_t startFrame, size_t endFrame);
235 235