summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-31 22:09:37 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-31 12:12:59 -0800
commited89febcbbb90b98b6d9d6b331be51a1ec2c15d7 (patch)
tree2338a1655465263c5cdf5ce3cce9081946b1280d /qt-ui/divelogexportdialog.ui
parent205c893fc3e512b4cce6470581c2fd886ba3ac07 (diff)
downloadsubsurface-ed89febcbbb90b98b6d9d6b331be51a1ec2c15d7.tar.gz
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>
Diffstat (limited to 'qt-ui/divelogexportdialog.ui')
-rw-r--r--qt-ui/divelogexportdialog.ui15
1 files changed, 15 insertions, 0 deletions
diff --git a/qt-ui/divelogexportdialog.ui b/qt-ui/divelogexportdialog.ui
index 4c1e0690c..7514a6551 100644
--- a/qt-ui/divelogexportdialog.ui
+++ b/qt-ui/divelogexportdialog.ui
@@ -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"/>