aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-30 21:10:21 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-30 16:12:28 -0800
commit146030f805ab80d56282996ad830e1583fa9679c (patch)
tree5f4a1e5853c5a1366f140870a20e38ee2f4831df /qt-ui/profile/diveprofileitem.h
parent2839aed8f282f409779f93fed2d899299f2a06d8 (diff)
downloadsubsurface-146030f805ab80d56282996ad830e1583fa9679c.tar.gz
Add skeleton for the instant mean depth line
This class will hold the visible line of the mean depth for the time 'now' Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index 1bdf4b368..7f375f110 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -204,6 +204,14 @@ private:
DiveTextItem *rightText;
};
+class InstantMeanDepthLine : public MeanDepthLine {
+ Q_OBJECT
+public:
+ InstantMeanDepthLine();
+public slots:
+ void mouseMoved(int time, int depth);
+};
+
class PartialPressureGasItem : public AbstractProfilePolygonItem {
Q_OBJECT
public: