summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-30 21:13:50 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-30 16:12:49 -0800
commitc7a5d816839d05dd97eac5bec6fa3e095479510b (patch)
tree992138b96118beeef61088b5d7a9e30ce19ce3f8 /qt-ui/profile/diveprofileitem.h
parent146030f805ab80d56282996ad830e1583fa9679c (diff)
downloadsubsurface-c7a5d816839d05dd97eac5bec6fa3e095479510b.tar.gz
Set data model for the MeanDepth line
This way we can poke around data for the mean depth line. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index 7f375f110..d7e3814a6 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -194,6 +194,7 @@ public:
void setMeanDepth(int value);
void setLine(qreal x1, qreal y1, qreal x2, qreal y2);
void setAxis(DiveCartesianAxis *a);
+ void setModel(DivePlotDataModel *m);
public
slots:
void axisLineChanged();
@@ -202,6 +203,7 @@ private:
int meanDepth;
DiveTextItem *leftText;
DiveTextItem *rightText;
+ DivePlotDataModel *model;
};
class InstantMeanDepthLine : public MeanDepthLine {