comparison layer/TimeValueLayer.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 0183ebb725ca
comparison
equal deleted inserted replaced
12:484e7320f59f 13:01849cd277e6
28 28
29 virtual void paint(QPainter &paint, QRect rect) const; 29 virtual void paint(QPainter &paint, QRect rect) const;
30 30
31 virtual QRect getFeatureDescriptionRect(QPainter &, QPoint) const; 31 virtual QRect getFeatureDescriptionRect(QPainter &, QPoint) const;
32 virtual void paintLocalFeatureDescription(QPainter &, QRect, QPoint) const; 32 virtual void paintLocalFeatureDescription(QPainter &, QRect, QPoint) const;
33
34 virtual int getNearestFeatureFrame(int frame,
35 size_t &resolution,
36 bool snapRight = true) const;
33 37
34 virtual const Model *getModel() const { return m_model; } 38 virtual const Model *getModel() const { return m_model; }
35 void setModel(SparseTimeValueModel *model); 39 void setModel(SparseTimeValueModel *model);
36 40
37 virtual PropertyList getProperties() const; 41 virtual PropertyList getProperties() const;