From 23b29bd3cd0982eb921dc5cbf8f9e13074fe9e32 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 2 Jul 2013 12:01:47 -0300 Subject: 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 --- qt-ui/diveplanner.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/diveplanner.h') diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index da3e6a4f1..41b4e5c89 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -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; -- cgit v1.2.3-70-g09d2