Enable and disable unit selection

Unit selection is supported only for CSV exports, thus enabling the
selection only for those.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-12-31 22:09:37 +02:00 committed by Dirk Hohndel
parent 205c893fc3
commit ed89febcbb

View file

@ -233,6 +233,9 @@
</layout>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
@ -509,6 +512,18 @@
</hint>
</hints>
</connection>
<connection>
<sender>exportCSV</sender>
<signal>toggled(bool)</signal>
<receiver>groupBox</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>exportCSVDetails</sender>
<signal>toggled(bool)</signal>
<receiver>groupBox</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<buttongroups>
<buttongroup name="exportGroup"/>