From 4ff73cf5370a3233a4caf29ded6e738e3d02b3a0 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 17 Jan 2014 15:34:15 -0200 Subject: Add the gas pressure plot. Added the Gas Pressure Graph with the related Model Changes to access the cylinder index, pressure, interpolated pressure and SAC. The plot does not correctly plot its color right now but it's not hard to do. 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 b5d9f0a31..5f988651d 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -29,6 +29,7 @@ struct QStateMachine; struct DiveCartesianPlane; struct DiveTemperatureItem; struct plot_info; +struct DiveGasPressureItem; class ProfileWidget2 : public QGraphicsView { Q_OBJECT @@ -76,6 +77,7 @@ private: DiveCartesianPlane *cartesianPlane; DiveTemperatureItem *temperatureItem; DiveCartesianAxis *cylinderPressureAxis; + DiveGasPressureItem *gasPressureItem; QList eventItems; }; -- cgit v1.2.3-70-g09d2