From 5b080beddef3e08b86eb53448e737b4867a50c1a Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 19 Sep 2017 14:38:38 +0200 Subject: Remove option to apply GFlow at maxdepth This option should have never been there. This is not how gradient factors are supposed to work. It would only trick users to use the wrong value.. Signed-off-by: Robert C. Helling --- desktop-widgets/preferences/preferences_graph.cpp | 3 - desktop-widgets/preferences/preferences_graph.ui | 112 ++++++++++------------ 2 files changed, 52 insertions(+), 63 deletions(-) (limited to 'desktop-widgets/preferences') diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp index 703868cb8..f0bd408e1 100644 --- a/desktop-widgets/preferences/preferences_graph.cpp +++ b/desktop-widgets/preferences/preferences_graph.cpp @@ -38,7 +38,6 @@ void PreferencesGraph::refreshSettings() ui->gflow->setValue(prefs.gflow); ui->gfhigh->setValue(prefs.gfhigh); ui->vpmb_conservatism->setValue(prefs.vpmb_conservatism); - ui->gf_low_at_maxdepth->setChecked(prefs.gf_low_at_maxdepth); ui->show_ccr_setpoint->setChecked(prefs.show_ccr_setpoint); ui->show_ccr_sensors->setChecked(prefs.show_ccr_sensors); ui->defaultSetpoint->setValue((double)prefs.defaultsetpoint / 1000.0); @@ -69,7 +68,6 @@ void PreferencesGraph::syncSettings() tech->setGflow(ui->gflow->value()); tech->setGfhigh(ui->gfhigh->value()); tech->setVpmbConservatism(ui->vpmb_conservatism->value()); - tech->setGfLowAtMaxDepth(ui->gf_low_at_maxdepth->isChecked()); tech->setShowCCRSetpoint(ui->show_ccr_setpoint->isChecked()); tech->setShowCCRSensors(ui->show_ccr_sensors->isChecked()); tech->setDisplayUnusedTanks(ui->display_unused_tanks->isChecked()); @@ -93,7 +91,6 @@ void PreferencesGraph::on_buehlmann_toggled(bool buehlmann) ui->gflow->setEnabled(buehlmann); ui->label_GFhigh->setEnabled(buehlmann); ui->label_GFlow->setEnabled(buehlmann); - ui->gf_low_at_maxdepth->setEnabled(buehlmann); ui->vpmb_conservatism->setEnabled(!buehlmann); ui->label_VPMB->setEnabled(!buehlmann); } diff --git a/desktop-widgets/preferences/preferences_graph.ui b/desktop-widgets/preferences/preferences_graph.ui index c3920609f..6e037698b 100644 --- a/desktop-widgets/preferences/preferences_graph.ui +++ b/desktop-widgets/preferences/preferences_graph.ui @@ -6,7 +6,7 @@ 0 0 - 650 + 655 634 @@ -178,23 +178,23 @@ Ceiling display setup - - + + - Conservatism level + GFHigh Qt::AlignCenter - - - - true + + + + - - Algorithm for calculated ceiling: + + 1: @@ -208,46 +208,26 @@ - - + + true - Draw dive computer reported ceiling red - - - - - - - - - - 1: + Algorithm for calculated ceiling: - - + + - GFHigh + Dilution ratio Qt::AlignCenter - - - - ℓ/min - - - 3 - - - @@ -261,33 +241,16 @@ - - - - Metabolic rate O₂ - - - Qt::AlignCenter - - - - - + + - Dilution ratio + Conservatism level Qt::AlignCenter - - - - GFLow at max. depth - - - @@ -301,10 +264,33 @@ - - + + - pSCR options: + Metabolic rate O₂ + + + Qt::AlignCenter + + + + + + + true + + + Draw dive computer reported ceiling red + + + + + + + ℓ/min + + + 3 @@ -328,6 +314,13 @@ + + + + pSCR options: + + + @@ -394,7 +387,6 @@ buehlmann gflow gfhigh - gf_low_at_maxdepth psro2rate pscrfactor display_unused_tanks -- cgit v1.2.3-70-g09d2