aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-11-12 23:09:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-13 11:55:19 +0900
commit4bb8368a20ad03cb5c1c9134df0a55a653c10cf0 (patch)
treefe870f50d62077dbf762cc93a4c2790e86b94e4e /qt-ui/preferences.ui
parentdbd4a471ecfa2901b1384f361549c6bbadc84c55 (diff)
downloadsubsurface-4bb8368a20ad03cb5c1c9134df0a55a653c10cf0.tar.gz
Introduce an on/off switch for calculating ndl/tts
Let the user choose if the calculation of ndl and tts is worth the time it takes. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r--qt-ui/preferences.ui26
1 files changed, 26 insertions, 0 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index df7333837..b02e7f13a 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -711,6 +711,16 @@
</property>
</widget>
</item>
+ <item>
+ <widget class="QCheckBox" name="calc_ndl_tts">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Calculate NDL/TTS</string>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
<item>
@@ -998,6 +1008,22 @@
</hints>
</connection>
<connection>
+ <sender>calculated_ceiling</sender>
+ <signal>clicked(bool)</signal>
+ <receiver>calc_ndl_tts</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>298</x>
+ <y>327</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>668</x>
+ <y>327</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
<sender>dc_reported_ceiling</sender>
<signal>clicked(bool)</signal>
<receiver>red_ceiling</receiver>