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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index 49631035b..d235d22fd 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -84,6 +84,18 @@ private:
QColor profileColor;
};
+class DiveMeanDepthItem : public AbstractProfilePolygonItem {
+ Q_OBJECT
+public:
+ DiveMeanDepthItem();
+ virtual void modelDataChanged(const QModelIndex &topLeft = QModelIndex(), const QModelIndex &bottomRight = QModelIndex());
+ virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
+ virtual void settingsChanged();
+private:
+ QString visibilityKey;
+
+};
+
class DiveTemperatureItem : public AbstractProfilePolygonItem {
Q_OBJECT
public: