summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-10 21:02:53 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-10 21:02:53 +0900
commit55c127f7c36ba9d46af7a4e68101c3687edc7cbc (patch)
treed92d8dd43263893708ceeacbcb6e8478c3875108 /qt-ui/diveplanner.h
parentaa4931e8c613f742cb05da77dfdad73c6f3008c9 (diff)
downloadsubsurface-55c127f7c36ba9d46af7a4e68101c3687edc7cbc.tar.gz
Enable adding cylinders in the dive planner
This is in preparation of using those to define the gases available for planning. Right now this doesn't seem to work quite right - I don't get the auto-completions for the cylinders that I was hoping for... This commit also corrects the tooltip for addint dive data points. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 9fc9cc641..ce89d1df1 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -43,6 +43,7 @@ public:
struct diveplan getDiveplan();
public slots:
int addStop(int meters = 0, int minutes = 0, int o2 = 0, int he = 0, int ccpoint = 0 );
+ void addCylinder_clicked();
void setGFHigh(short gfhigh);
void setGFLow(short ghflow);
void setSurfacePressure(int pressure);
@@ -69,6 +70,7 @@ private:
struct dive *tempDive;
void deleteTemporaryPlan(struct divedatapoint *dp);
QVector<sample> backupSamples; // For editing added dives.
+ struct dive *stagingDive;
};
class Button : public QObject, public QGraphicsRectItem {