summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 0e7f6f4b2..ac0d7ebd9 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -7,12 +7,8 @@
class DiveHandler : public QGraphicsEllipseItem{
public:
DiveHandler();
- void setTime(qreal t);
- void setDepth(qreal d);
-
QGraphicsLineItem *from;
QGraphicsLineItem *to;
-private:
qreal time;
qreal depth;
};
@@ -26,6 +22,7 @@ public:
void setOrientation(Qt::Orientation orientation);
void updateTicks();
qreal valueAt(const QPointF& p);
+ qreal posAtValue(qreal value);
private:
Qt::Orientation orientation;