comparison layer/TimeRulerLayer.h @ 61:0387f53242b2

fix the 2ed color bug in the layer list. Now color in layer list is ok.
author benoitrigolleau
date Tue, 29 May 2007 09:26:15 +0000
parents d8e6709e9075
children
comparison
equal deleted inserted replaced
60:32b4949086a5 61:0387f53242b2
35 virtual void paint(View *v, QPainter &paint, QRect rect) const; 35 virtual void paint(View *v, QPainter &paint, QRect rect) const;
36 36
37 void setModel(Model *); 37 void setModel(Model *);
38 virtual const Model *getModel() const { return m_model; } 38 virtual const Model *getModel() const { return m_model; }
39 39
40 void setBaseColour(QColor); 40 virtual void setBaseColour(QColor);
41 QColor getBaseColour() const { return m_colour; } 41 virtual QColor getBaseColour() const { return m_colour; }
42 42
43 enum LabelHeight { LabelTop, LabelMiddle, LabelBottom }; 43 enum LabelHeight { LabelTop, LabelMiddle, LabelBottom };
44 void setLabelHeight(LabelHeight h) { m_labelHeight = h; } 44 void setLabelHeight(LabelHeight h) { m_labelHeight = h; }
45 LabelHeight getLabelHeight() const { return m_labelHeight; } 45 LabelHeight getLabelHeight() const { return m_labelHeight; }
46 46