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>
This commit is contained in:
Anton Lundin 2013-11-12 23:09:57 +01:00 committed by Dirk Hohndel
parent dbd4a471ec
commit 4bb8368a20
6 changed files with 38 additions and 0 deletions

View file

@ -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>
@ -997,6 +1007,22 @@
</hint>
</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>