Mercurial > hg > svgui
comparison layer/TimeValueLayer.h @ 3:7af44e8578c8
* Add "curve" plot style to TimeValueLayer
* Update copyrights to 2006
author | Chris Cannam |
---|---|
date | Thu, 12 Jan 2006 13:42:30 +0000 |
parents | 2a4f26e85b4c |
children | 02aaea1ffaf7 |
comparison
equal
deleted
inserted
replaced
2:77dad696d740 | 3:7af44e8578c8 |
---|---|
1 /* -*- c-basic-offset: 4 -*- vi:set ts=8 sts=4 sw=4: */ | 1 /* -*- c-basic-offset: 4 -*- vi:set ts=8 sts=4 sw=4: */ |
2 | 2 |
3 /* | 3 /* |
4 A waveform viewer and audio annotation editor. | 4 A waveform viewer and audio annotation editor. |
5 Chris Cannam, Queen Mary University of London, 2005 | 5 Chris Cannam, Queen Mary University of London, 2005-2006 |
6 | 6 |
7 This is experimental software. Not for distribution. | 7 This is experimental software. Not for distribution. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef _TIME_VALUE_VIEW_H_ | 10 #ifndef _TIME_VALUE_VIEW_H_ |
43 virtual void setProperty(const PropertyName &, int value); | 43 virtual void setProperty(const PropertyName &, int value); |
44 | 44 |
45 void setBaseColour(QColor); | 45 void setBaseColour(QColor); |
46 QColor getBaseColour() const { return m_colour; } | 46 QColor getBaseColour() const { return m_colour; } |
47 | 47 |
48 enum PlotStyle { PlotPoints, PlotStems, PlotLines }; | 48 enum PlotStyle { PlotPoints, PlotStems, PlotLines, PlotCurve }; |
49 | 49 |
50 void setPlotStyle(PlotStyle style); | 50 void setPlotStyle(PlotStyle style); |
51 PlotStyle getPlotStyle() const { return m_plotStyle; } | 51 PlotStyle getPlotStyle() const { return m_plotStyle; } |
52 | 52 |
53 virtual QString getPropertyContainerIconName() const { return "values"; } | 53 virtual QString getPropertyContainerIconName() const { return "values"; } |