Mercurial > hg > svgui
comparison layer/TimeValueLayer.h @ 197:6b023411087b
* Work on harmonising colour and scale ranges between types of layer
* Add normalize options to colour 3d plot layer
author | Chris Cannam |
---|---|
date | Thu, 01 Feb 2007 14:31:28 +0000 |
parents | 86cee2b060c7 |
children | c2ed5014d4ff |
comparison
equal
deleted
inserted
replaced
196:22c99c8aa1e0 | 197:6b023411087b |
---|---|
74 virtual void setProperty(const PropertyName &, int value); | 74 virtual void setProperty(const PropertyName &, int value); |
75 | 75 |
76 void setBaseColour(QColor); | 76 void setBaseColour(QColor); |
77 QColor getBaseColour() const { return m_colour; } | 77 QColor getBaseColour() const { return m_colour; } |
78 | 78 |
79 void setFillColourMap(int); | |
80 int getFillColourMap() const { return m_colourMap; } | |
81 | |
79 enum PlotStyle { | 82 enum PlotStyle { |
80 PlotPoints, | 83 PlotPoints, |
81 PlotStems, | 84 PlotStems, |
82 PlotConnectedPoints, | 85 PlotConnectedPoints, |
83 PlotLines, | 86 PlotLines, |
130 bool m_editing; | 133 bool m_editing; |
131 SparseTimeValueModel::Point m_originalPoint; | 134 SparseTimeValueModel::Point m_originalPoint; |
132 SparseTimeValueModel::Point m_editingPoint; | 135 SparseTimeValueModel::Point m_editingPoint; |
133 SparseTimeValueModel::EditCommand *m_editingCommand; | 136 SparseTimeValueModel::EditCommand *m_editingCommand; |
134 QColor m_colour; | 137 QColor m_colour; |
138 int m_colourMap; | |
135 PlotStyle m_plotStyle; | 139 PlotStyle m_plotStyle; |
136 VerticalScale m_verticalScale; | 140 VerticalScale m_verticalScale; |
137 }; | 141 }; |
138 | 142 |
139 #endif | 143 #endif |