summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-02 12:01:47 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-02 12:01:47 -0300
commit23b29bd3cd0982eb921dc5cbf8f9e13074fe9e32 (patch)
tree072fbc915a8ad5d11df35425ca4dd657c5c48916 /qt-ui/diveplanner.h
parent43664d7cd5468aa579fc48179f1b5c407a01b83f (diff)
downloadsubsurface-23b29bd3cd0982eb921dc5cbf8f9e13074fe9e32.tar.gz
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>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
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;