mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
35a3ba0be0
commit
e19d38193d
2 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue