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>
This commit is contained in:
Robert C. Helling 2015-04-26 21:40:36 +02:00 committed by Dirk Hohndel
parent 35a3ba0be0
commit e19d38193d
2 changed files with 14 additions and 0 deletions

View file

@ -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;