From caa45a15396a737ecbef1161e302735b148cc236 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 23 Jan 2014 17:54:34 -0200 Subject: Added the first Partial Gas Pressure: PN2 This makes the beginning of the partial gas pressures, there's two more. but this code uses a good part of the Model View system, and it's way clearer than the old one. Luckly the other 2 missing items will be even more clear ( the diffs ) to do, because I just need to create a new PartialPressureGasItem and set the properties. <3 Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/profile/profilewidget2.h') diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index c20a3f333..5b3821e43 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -37,6 +37,7 @@ struct DiveGasPressureItem; struct DiveCalculatedCeiling; struct DiveReportedCeiling; struct DiveCalculatedTissue; +struct PartialPressureGasItem; class ProfileWidget2 : public QGraphicsView { Q_OBJECT @@ -91,6 +92,7 @@ private: DiveCalculatedCeiling *diveCeiling; QList allTissues; DiveReportedCeiling *reportedCeiling; + PartialPressureGasItem *pn2GasItem; }; #endif -- cgit v1.2.3-70-g09d2