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> </layout>
</widget> </widget>
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
@ -509,6 +512,18 @@
</hint> </hint>
</hints> </hints>
</connection> </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> </connections>
<buttongroups> <buttongroups>
<buttongroup name="exportGroup"/> <buttongroup name="exportGroup"/>