summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index c6c5b19e3..8da9acee1 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -121,4 +121,17 @@ private:
DiveTextItem *leftText;
DiveTextItem *rightText;
};
+
+class PartialPressureGasItem : public AbstractProfilePolygonItem{
+ Q_OBJECT
+public:
+ PartialPressureGasItem();
+ virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
+ virtual void modelDataChanged();
+ virtual void preferencesChanged();
+ void setThreshouldSettingsKey(const QString& threshouldSettingsKey);
+private:
+ QPolygonF alertPoly;
+ QString threshouldKey;
+};
#endif