summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/tankitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/tankitem.h')
-rw-r--r--qt-ui/profile/tankitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/profile/tankitem.h b/qt-ui/profile/tankitem.h
index 2dc7dfaa2..615a7017d 100644
--- a/qt-ui/profile/tankitem.h
+++ b/qt-ui/profile/tankitem.h
@@ -3,6 +3,7 @@
#include <QGraphicsItem>
#include <QModelIndex>
+#include <QBrush>
#include "divelineitem.h"
#include "divecartesianaxis.h"
#include "dive.h"
@@ -23,11 +24,14 @@ public slots:
virtual void modelDataChanged(const QModelIndex &topLeft = QModelIndex(), const QModelIndex &bottomRight = QModelIndex());
private:
+ void createBar(qreal x, qreal w, struct gasmix *gas);
DivePlotDataModel *dataModel;
DiveCartesianAxis *hAxis;
int hDataColumn;
struct dive *dive;
struct plot_info *pInfo;
+ qreal yPos, height;
+ QBrush air, nitrox, trimix;
QList<QGraphicsRectItem *> rects;
};