summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-14 07:14:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-14 08:07:15 -0700
commitbfd3782b81f5a4ddd793207702c5af0ffb7e7def (patch)
treebdeedbaf5e9a1a85699350f23eb08bc2fe474dc0 /qt-ui/preferences.ui
parent6359a983970e4fe6623bcb7f63ee9248f06cebf2 (diff)
downloadsubsurface-bfd3782b81f5a4ddd793207702c5af0ffb7e7def.tar.gz
Preferences: radio buttons for default data file behavior
These aren't hooked up, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r--qt-ui/preferences.ui60
1 files changed, 51 insertions, 9 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index 0f5e94fe4..28cc39bc9 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>814</width>
- <height>802</height>
+ <height>830</height>
</rect>
</property>
<property name="windowTitle">
@@ -254,13 +254,54 @@
<number>5</number>
</property>
<item row="0" column="0">
- <widget class="QLabel" name="label_9">
+ <widget class="QLabel" name="defaultDiveLogFileLabel">
<property name="text">
<string>Default dive log file</string>
</property>
</widget>
</item>
<item row="0" column="1">
+ <layout class="QHBoxLayout" name="defaultFileBehaviorLayout">
+ <item>
+ <widget class="QRadioButton" name="noDefaultFile">
+ <property name="text">
+ <string>No default file</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">defaultFileGroup</string>
+ </attribute>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="localDefaultFile">
+ <property name="text">
+ <string>Local default file</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">defaultFileGroup</string>
+ </attribute>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="cloudDefaultFile">
+ <property name="text">
+ <string>Cloud storage default file</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">defaultFileGroup</string>
+ </attribute>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>Local dive log file</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3b">
<item>
<widget class="QLineEdit" name="defaultfilename"/>
@@ -284,14 +325,14 @@
</item>
</layout>
</item>
- <item row="1" column="0">
+ <item row="2" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Display invalid</string>
</property>
</widget>
</item>
- <item row="1" column="1">
+ <item row="2" column="1">
<widget class="QCheckBox" name="displayinvalid">
<property name="text">
<string/>
@@ -1754,13 +1795,14 @@
</connection>
</connections>
<buttongroups>
- <buttongroup name="buttonGroup_6"/>
+ <buttongroup name="defaultFileGroup"/>
+ <buttongroup name="buttonGroup_2"/>
+ <buttongroup name="verticalSpeed"/>
<buttongroup name="buttonGroup_3"/>
- <buttongroup name="buttonGroup_7"/>
- <buttongroup name="buttonGroup_4"/>
<buttongroup name="buttonGroup"/>
<buttongroup name="buttonGroup_5"/>
- <buttongroup name="buttonGroup_2"/>
- <buttongroup name="verticalSpeed"/>
+ <buttongroup name="buttonGroup_7"/>
+ <buttongroup name="buttonGroup_4"/>
+ <buttongroup name="buttonGroup_6"/>
</buttongroups>
</ui>