diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-04-26 21:40:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-26 16:54:29 -0700 |
commit | e19d38193dc30adca60f992b3975625314e5ecc5 (patch) | |
tree | 50aa30cd1d4249352b8484b171f76c29454048e1 /qt-ui/diveplanner.h | |
parent | 35a3ba0be01bb8e71baea5ff36433c8398cf91c0 (diff) | |
download | subsurface-e19d38193dc30adca60f992b3975625314e5ecc5.tar.gz |
Disable planner UI elements without function
This disables planner UI elements in recreational mode that have no function
in that mode.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 6cfcc5efb..988c908ba 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -100,6 +100,7 @@ signals: void planCanceled(); void cylinderModelEdited(); void startTimeChanged(QDateTime); + void recreationChanged(bool); private: explicit DivePlannerPointsModel(QObject *parent = 0); @@ -183,6 +184,7 @@ slots: void setBottomPo2(double po2); void setDecoPo2(double po2); void setBackgasBreaks(bool dobreaks); + void disableDecoElements(bool value); private: Ui::plannerSettingsWidget ui; |