diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-06-23 19:21:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-24 17:26:31 +0800 |
commit | ccfdcca6e63336fddf4444e7bcf56c009c6195f7 (patch) | |
tree | b49d1107430b386e84ede52a65d404dd28ce18aa /qt-ui/diveplanner.h | |
parent | 5904be2e0681a20be23a5190c4bd3d183db8689f (diff) | |
download | subsurface-ccfdcca6e63336fddf4444e7bcf56c009c6195f7.tar.gz |
Drop like a stone mode in planner
Most of my dives i plan i know it will just be full speed down a line in
the beginning and thus the planner can figure out that leg of the plan
by it self.
The config box added here isn't connected, because i saw that the other
planner boxes wasn't connected ether, so i left it in the same state as
they where.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 96725550b..0b4e783cb 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -73,6 +73,7 @@ slots: void setDecoSac(int sac); void setStartTime(const QTime &t); void setLastStop6m(bool value); + void setDropStoneMode(bool value); void setVerbatim(bool value); void setDisplayRuntime(bool value); void setDisplayDuration(bool value); @@ -104,6 +105,7 @@ private: QVector<sample> backupSamples; // For editing added dives. struct dive *stagingDive; QVector<QPair<int, int> > oldGases; + bool drop_stone_mode; }; class DiveHandler : public QObject, public QGraphicsEllipseItem { |