diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-25 16:25:05 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-30 10:36:50 -0700 |
commit | c53615315e151a2790218c13898f128d561df1b9 (patch) | |
tree | 5e358c509a0a46fe9ffe234cc64a487af92c4bbb /desktop-widgets/preferences.ui | |
parent | 1d2d046c0f80d8884d783aad57340c9b6867985a (diff) | |
download | subsurface-c53615315e151a2790218c13898f128d561df1b9.tar.gz |
Code cleanup
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.ui | 268 |
1 files changed, 1 insertions, 267 deletions
diff --git a/desktop-widgets/preferences.ui b/desktop-widgets/preferences.ui index aa5dc4cb5..a799d966c 100644 --- a/desktop-widgets/preferences.ui +++ b/desktop-widgets/preferences.ui @@ -85,16 +85,6 @@ </property> <item> <property name="text"> - <string>Defaults</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/subsurface-icon</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> <string>Units</string> </property> <property name="icon"> @@ -115,16 +105,6 @@ </item> <item> <property name="text"> - <string>Language</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/advanced</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> <string>Network</string> </property> <property name="icon"> @@ -143,16 +123,6 @@ </iconset> </property> </item> - <item> - <property name="text"> - <string>Georeference</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/georeference</normalon> - </iconset> - </property> - </item> </widget> </item> <item> @@ -164,37 +134,8 @@ </sizepolicy> </property> <property name="currentIndex"> - <number>0</number> + <number>3</number> </property> - <widget class="QWidget" name="defaults_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> <widget class="QWidget" name="units_page"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> @@ -787,93 +728,6 @@ </item> </layout> </widget> - <widget class="QWidget" name="language_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_6" stretch="0,1,0"> - <property name="spacing"> - <number>5</number> - </property> - <property name="sizeConstraint"> - <enum>QLayout::SetNoConstraint</enum> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="language_group"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string>UI language</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_6"> - <item> - <widget class="QCheckBox" name="languageSystemDefault"> - <property name="text"> - <string>System default</string> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QLabel" name="label_14"> - <property name="text"> - <string>Filter</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="languageFilter"/> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QListView" name="languageView"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer_7"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> <widget class="QWidget" name="network_page"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> @@ -1200,94 +1054,6 @@ </item> </layout> </widget> - <widget class="QWidget" name="geolookup_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_155"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="groupBox_12"> - <property name="title"> - <string>Dive Site Layout</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_10"> - <item> - <widget class="QComboBox" name="first_item"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_29"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>/</string> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="second_item"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_30"> - <property name="text"> - <string>/</string> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="third_item"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <spacer name="verticalSpacer_6"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> </widget> </item> </layout> @@ -1371,38 +1137,6 @@ </hints> </connection> <connection> - <sender>languageSystemDefault</sender> - <signal>toggled(bool)</signal> - <receiver>languageView</receiver> - <slot>setDisabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>231</x> - <y>26</y> - </hint> - <hint type="destinationlabel"> - <x>186</x> - <y>30</y> - </hint> - </hints> - </connection> - <connection> - <sender>languageSystemDefault</sender> - <signal>toggled(bool)</signal> - <receiver>languageFilter</receiver> - <slot>setDisabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>231</x> - <y>26</y> - </hint> - <hint type="destinationlabel"> - <x>185</x> - <y>20</y> - </hint> - </hints> - </connection> - <connection> <sender>imperial</sender> <signal>toggled(bool)</signal> <receiver>feet</receiver> |