Mercurial > hg > svgui
comparison layer/TextLayer.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 | e1a9e478b7f2 |
children | 5b72899d692b |
comparison
equal
deleted
inserted
replaced
551:c2ba2796cbee | 552:2e8194a30f40 |
---|---|
94 | 94 |
95 virtual int getDefaultColourHint(bool dark, bool &impose); | 95 virtual int getDefaultColourHint(bool dark, bool &impose); |
96 | 96 |
97 TextModel::PointList getLocalPoints(View *v, int x, int y) const; | 97 TextModel::PointList getLocalPoints(View *v, int x, int y) const; |
98 | 98 |
99 bool getPointToDrag(View *v, int x, int y, TextModel::Point &) const; | |
100 | |
99 TextModel *m_model; | 101 TextModel *m_model; |
100 bool m_editing; | 102 bool m_editing; |
101 QPoint m_editOrigin; | 103 QPoint m_editOrigin; |
102 TextModel::Point m_originalPoint; | 104 TextModel::Point m_originalPoint; |
103 TextModel::Point m_editingPoint; | 105 TextModel::Point m_editingPoint; |