summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-21 14:59:19 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-21 11:35:09 -0800
commit8065374793908894b47cfd1c2bb0b9913d404bb4 (patch)
treedf2fe4bfec7a05ce3e255cdcf06a38b6f7aded4c /qt-ui/profile/diveprofileitem.h
parentb1df7aeb4e06cfc512d19b2f7e7f5b455dea0c22 (diff)
downloadsubsurface-8065374793908894b47cfd1c2bb0b9913d404bb4.tar.gz
Add the DiveCalculatedCeiling item.
This item plots the DiveCalculatedCeiling over the profile. I still need to add the Calc All Tissues version. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index 1aa1af9ad..9e71eac19 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -65,7 +65,6 @@ public:
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
private:
void createTextItem(int seconds, int mkelvin);
- QList<DiveTextItem*> texts;
};
class DiveGasPressureItem : public AbstractProfilePolygonItem{
@@ -80,4 +79,12 @@ private:
QVector<QPolygonF> polygons;
};
+class DiveCalculatedCeiling : public AbstractProfilePolygonItem{
+ Q_OBJECT
+
+public:
+ virtual void modelDataChanged();
+ virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
+};
+
#endif \ No newline at end of file