Mercurial > hg > svgui
comparison layer/TimeInstantLayer.h @ 552:2e8194a30f40 sv-v1.7.1
* Layer data editor window: fix sorting for columns in region model,
add Find feature
* RDF import: assign names to layers based on event types, if no suitable
labels are found in the RDF
* Add label to status bar showing the last text that was passed in current
layer (so e.g. counting 1, 2, 3, 4 if that's what beats are labelled)
* Better layout of text labels for region layers in segmentation mode when
they are close together
* Give text layer the same method for finding "nearest point" as region and
note layers, should improve its editability
author | Chris Cannam |
---|---|
date | Thu, 22 Oct 2009 15:54:21 +0000 |
parents | b3140e9e0665 |
children | 5b72899d692b |
comparison
equal
deleted
inserted
replaced
551:c2ba2796cbee | 552:2e8194a30f40 |
---|---|
33 TimeInstantLayer(); | 33 TimeInstantLayer(); |
34 virtual ~TimeInstantLayer(); | 34 virtual ~TimeInstantLayer(); |
35 | 35 |
36 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 36 virtual void paint(View *v, QPainter &paint, QRect rect) const; |
37 | 37 |
38 virtual QString getLabelPreceding(size_t) const; | |
38 virtual QString getFeatureDescription(View *v, QPoint &) const; | 39 virtual QString getFeatureDescription(View *v, QPoint &) const; |
39 | 40 |
40 virtual bool snapToFeatureFrame(View *v, int &frame, | 41 virtual bool snapToFeatureFrame(View *v, int &frame, |
41 size_t &resolution, | 42 size_t &resolution, |
42 SnapType snap) const; | 43 SnapType snap) const; |