Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 13:01849cd277e6
* Hook up tool selection buttons to switch the cursor mode
* Implement simple and multi-selection, snapping to the resolution
of the current layer. You can't actually do anything with a selection yet
author | Chris Cannam |
---|---|
date | Mon, 23 Jan 2006 17:02:57 +0000 |
parents | 2d5005f2b3d9 |
children | 4d5d9aba406b |
comparison
equal
deleted
inserted
replaced
12:484e7320f59f | 13:01849cd277e6 |
---|---|
51 virtual int getVerticalScaleWidth(QPainter &) const; | 51 virtual int getVerticalScaleWidth(QPainter &) const; |
52 virtual void paintVerticalScale(QPainter &paint, QRect rect) const; | 52 virtual void paintVerticalScale(QPainter &paint, QRect rect) const; |
53 | 53 |
54 virtual QRect getFeatureDescriptionRect(QPainter &, QPoint) const; | 54 virtual QRect getFeatureDescriptionRect(QPainter &, QPoint) const; |
55 virtual void paintLocalFeatureDescription(QPainter &, QRect, QPoint) const; | 55 virtual void paintLocalFeatureDescription(QPainter &, QRect, QPoint) const; |
56 | |
57 virtual int getNearestFeatureFrame(int frame, | |
58 size_t &resolution, | |
59 bool snapRight = true) const; | |
56 | 60 |
57 void setModel(const DenseTimeValueModel *model); | 61 void setModel(const DenseTimeValueModel *model); |
58 | 62 |
59 virtual PropertyList getProperties() const; | 63 virtual PropertyList getProperties() const; |
60 virtual PropertyType getPropertyType(const PropertyName &) const; | 64 virtual PropertyType getPropertyType(const PropertyName &) const; |