Mercurial > hg > svgui
diff layer/Layer.h @ 187:e7cf6044c2a0
* better icon
* support range mappers in thumbwheel
* supply range mapper for vertical zoom from spectrogram
* fix bug in fftmodel for scaled ffts
* make the various widgets all respond to double-click for edit, middle-click
for reset, ctrl-left-click for reset
author | Chris Cannam |
---|---|
date | Fri, 12 Jan 2007 14:49:18 +0000 |
parents | 5f86ae638b04 |
children | 6b023411087b |
line wrap: on
line diff
--- a/layer/Layer.h Fri Jan 05 15:49:10 2007 +0000 +++ b/layer/Layer.h Fri Jan 12 14:49:18 2007 +0000 @@ -34,6 +34,7 @@ class View; class QMouseEvent; class Clipboard; +class RangeMapper; /** * The base class for visual representations of the data found in a @@ -338,6 +339,14 @@ */ virtual void setVerticalZoomStep(int) { } + /** + * Create and return a range mapper for vertical zoom step values. + * See the RangeMapper documentation for more details. The + * returned value is allocated on the heap and will be deleted by + * the caller. + */ + virtual RangeMapper *getNewVerticalZoomRangeMapper() const { return 0; } + public slots: void showLayer(View *, bool show);