summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-06-25 00:08:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-25 13:48:44 +0800
commit772727fc7f44faaf94afc24bd1f151e40ddaefef (patch)
treecf74530d4a42e244f174c23e4e723b0a013189f0 /qt-ui/diveplanner.h
parent2ae6f8078a7ea2a034295fcd00f210854a572ee7 (diff)
downloadsubsurface-772727fc7f44faaf94afc24bd1f151e40ddaefef.tar.gz
Hook up UI elements for ascent rates to planner
That provides some UI elements that were recently introduced with function of allowing the ascent rates of the planner to be configured by the user. I tried to make it work both with senisble as well as with imperial units. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 0b4e783cb..9f6052b4a 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -159,6 +159,11 @@ slots:
void bottomSacChanged(const int bottomSac);
void decoSacChanged(const int decosac);
void printDecoPlan();
+ void setAscRate75(int rate);
+ void setAscRate50(int rate);
+ void setAscRateStops(int rate);
+ void setAscRateLast6m(int rate);
+ void setDescRate(int rate);
private:
Ui::plannerSettingsWidget ui;