summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-25 16:15:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:50 -0700
commit1d2d046c0f80d8884d783aad57340c9b6867985a (patch)
tree1af74f6bf1fdc91a04078afb6d940fb71c42ecb9 /desktop-widgets/preferences.ui
parent7cd9e2b7bb101719ec5c50a10fc889ba4b7bd9c5 (diff)
downloadsubsurface-1d2d046c0f80d8884d783aad57340c9b6867985a.tar.gz
Preferences: Port the default preferences to the new system
Simple port of the default preferences to the new preferences structure. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences.ui')
-rw-r--r--desktop-widgets/preferences.ui276
1 files changed, 1 insertions, 275 deletions
diff --git a/desktop-widgets/preferences.ui b/desktop-widgets/preferences.ui
index de2d79b91..aa5dc4cb5 100644
--- a/desktop-widgets/preferences.ui
+++ b/desktop-widgets/preferences.ui
@@ -164,7 +164,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
- <number>4</number>
+ <number>0</number>
</property>
<widget class="QWidget" name="defaults_page">
<property name="sizePolicy">
@@ -181,232 +181,6 @@
<number>5</number>
</property>
<item>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>Lists and tables</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_11">
- <property name="margin">
- <number>5</number>
- </property>
- <item>
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Font</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QFontComboBox" name="font"/>
- </item>
- <item>
- <widget class="QLabel" name="label_8">
- <property name="text">
- <string>Font size</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="fontsize"/>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>Dives</string>
- </property>
- <layout class="QFormLayout" name="formLayout">
- <property name="horizontalSpacing">
- <number>5</number>
- </property>
- <property name="verticalSpacing">
- <number>5</number>
- </property>
- <property name="margin">
- <number>5</number>
- </property>
- <item row="0" column="0">
- <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>&amp;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>Clo&amp;ud 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"/>
- </item>
- <item>
- <widget class="QToolButton" name="btnUseDefaultFile">
- <property name="text">
- <string>Use default</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="chooseFile">
- <property name="text">
- <string>...</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>Display invalid</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QCheckBox" name="displayinvalid">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_6">
- <property name="title">
- <string>Default cylinder</string>
- </property>
- <layout class="QFormLayout" name="formLayout_6">
- <property name="horizontalSpacing">
- <number>5</number>
- </property>
- <property name="verticalSpacing">
- <number>5</number>
- </property>
- <property name="margin">
- <number>5</number>
- </property>
- <item row="0" column="0">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>Use default cylinder</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QComboBox" name="default_cylinder"/>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_7">
- <property name="title">
- <string>Animations</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_7">
- <property name="margin">
- <number>5</number>
- </property>
- <item>
- <widget class="QLabel" name="label_15">
- <property name="text">
- <string>Speed</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="velocitySlider">
- <property name="maximum">
- <number>500</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="velocitySpinBox">
- <property name="maximum">
- <number>500</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_9">
- <property name="title">
- <string>Clear all settings</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_7b">
- <property name="spacing">
- <number>5</number>
- </property>
- <property name="margin">
- <number>5</number>
- </property>
- <item>
- <widget class="QPushButton" name="resetSettings">
- <property name="text">
- <string>Reset all settings to their default value</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -1789,38 +1563,6 @@
</hints>
</connection>
<connection>
- <sender>velocitySlider</sender>
- <signal>valueChanged(int)</signal>
- <receiver>velocitySpinBox</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>236</x>
- <y>52</y>
- </hint>
- <hint type="destinationlabel">
- <x>236</x>
- <y>52</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>velocitySpinBox</sender>
- <signal>valueChanged(int)</signal>
- <receiver>velocitySlider</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>236</x>
- <y>52</y>
- </hint>
- <hint type="destinationlabel">
- <x>236</x>
- <y>52</y>
- </hint>
- </hints>
- </connection>
- <connection>
<sender>proxyAuthRequired</sender>
<signal>toggled(bool)</signal>
<receiver>proxyUsername</receiver>
@@ -1852,22 +1594,6 @@
</hint>
</hints>
</connection>
- <connection>
- <sender>btnUseDefaultFile</sender>
- <signal>toggled(bool)</signal>
- <receiver>chooseFile</receiver>
- <slot>setHidden(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>236</x>
- <y>44</y>
- </hint>
- <hint type="destinationlabel">
- <x>236</x>
- <y>44</y>
- </hint>
- </hints>
- </connection>
</connections>
<buttongroups>
<buttongroup name="verticalSpeed"/>