diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-17 15:34:15 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-17 14:04:47 -0800 |
commit | 4ff73cf5370a3233a4caf29ded6e738e3d02b3a0 (patch) | |
tree | 24766d2a532522a7f1a0d94ac7ae471c1b244cc1 /qt-ui/profile/profilewidget2.h | |
parent | 779c1b6738c4378be79a46b744da2c556380ca32 (diff) | |
download | subsurface-4ff73cf5370a3233a4caf29ded6e738e3d02b3a0.tar.gz |
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 <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<DiveEventItem*> eventItems; }; |