summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-12 11:12:43 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-12 11:17:40 +0900
commitd72c69db7a49fc20ea7618deaac4b125614afb12 (patch)
tree3b6688950e02dc7e72e83c613666a2952d3488d6 /qt-ui/models.h
parentcd1149e57fb077c2f3dbf0fce7a1a9478feb6743 (diff)
downloadsubsurface-d72c69db7a49fc20ea7618deaac4b125614afb12.tar.gz
Add depth colum to cylinder model
To make the planner work this adds a new column to the Cylinder widget (depth - for the depth at which we want to change to a certain gas during deco). This also tries to hide that column in the equipment view and hide the start/end pressure columns in the planner view. Oddly that fails :-( Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r--qt-ui/models.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h
index 78313c963..8302acefa 100644
--- a/qt-ui/models.h
+++ b/qt-ui/models.h
@@ -79,7 +79,7 @@ private:
class CylindersModel : public CleanerTableModel {
Q_OBJECT
public:
- enum Column {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE};
+ enum Column {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH};
explicit CylindersModel(QObject* parent = 0);
static CylindersModel *instance();