summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveplotdatamodel.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-21 14:59:19 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-21 11:35:09 -0800
commit8065374793908894b47cfd1c2bb0b9913d404bb4 (patch)
treedf2fe4bfec7a05ce3e255cdcf06a38b6f7aded4c /qt-ui/profile/diveplotdatamodel.h
parentb1df7aeb4e06cfc512d19b2f7e7f5b455dea0c22 (diff)
downloadsubsurface-8065374793908894b47cfd1c2bb0b9913d404bb4.tar.gz
Add the DiveCalculatedCeiling item.
This item plots the DiveCalculatedCeiling over the profile. I still need to add the Calc All Tissues version. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveplotdatamodel.h')
-rw-r--r--qt-ui/profile/diveplotdatamodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/diveplotdatamodel.h b/qt-ui/profile/diveplotdatamodel.h
index 3afc580cf..cc391097d 100644
--- a/qt-ui/profile/diveplotdatamodel.h
+++ b/qt-ui/profile/diveplotdatamodel.h
@@ -10,7 +10,8 @@ struct plot_info;
class DivePlotDataModel : public QAbstractTableModel{
Q_OBJECT
public:
- enum {DEPTH, TIME, PRESSURE, TEMPERATURE, USERENTERED, COLOR, CYLINDERINDEX, SENSOR_PRESSURE, INTERPOLATED_PRESSURE, SAC, COLUMNS};
+ enum {DEPTH, TIME, PRESSURE, TEMPERATURE, USERENTERED, COLOR, CYLINDERINDEX, SENSOR_PRESSURE, INTERPOLATED_PRESSURE,
+ SAC, CEILING, COLUMNS};
explicit DivePlotDataModel(QObject* parent = 0);
virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;