Use the same profile colors on the planer for the Time and Depth

Use the same profile colors on the planner for the Time and Depth
rulers. this needed a new method on the rulers - setColor, that
will call the setPen method and make everything behave properly.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-07-02 12:01:47 -03:00
parent 43664d7cd5
commit 23b29bd3cd
2 changed files with 22 additions and 6 deletions

View file

@ -43,6 +43,7 @@ public:
double maximum() const;
qreal valueAt(const QPointF& p);
qreal posAtValue(qreal value);
void setColor(const QColor& color);
private:
Qt::Orientation orientation;