summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-25 17:46:51 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-25 17:46:51 +0800
commitdd96b03d225367fcd527c4df0f5c5362d0aed09a (patch)
treea1db1285374cd38e8fefc529ea0bb861fb4277ac /qt-ui/preferences.ui
parent81b268d4ba48338b6adda0efd011f58c5e44ed88 (diff)
downloadsubsurface-dd96b03d225367fcd527c4df0f5c5362d0aed09a.tar.gz
Add ability to reset the settings
This may be a bit crude and it doesn't actually FULLY reset the settings (as for example the column widths will still be maintained), but it's a good start, I think. Fixes #552 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r--qt-ui/preferences.ui51
1 files changed, 33 insertions, 18 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index db99ff1fc..37bcb7766 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -278,8 +278,7 @@
</widget>
</item>
<item>
- <widget class="QLineEdit" name="default_uid">
- </widget>
+ <widget class="QLineEdit" name="default_uid"/>
</item>
<item>
<widget class="QCheckBox" name="save_uid_local">
@@ -292,6 +291,22 @@
</widget>
</item>
<item>
+ <widget class="QGroupBox" name="groupBox_9">
+ <property name="title">
+ <string>Clear all settings</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_7b">
+ <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>
@@ -538,7 +553,7 @@
</widget>
</item>
</layout>
- </item>
+ </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
@@ -670,18 +685,18 @@
</widget>
</item>
</layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_11d">
- <item>
- <widget class="QCheckBox" name="show_average_depth">
- <property name="text">
- <string>show average depth</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_11d">
+ <item>
+ <widget class="QCheckBox" name="show_average_depth">
+ <property name="text">
+ <string>show average depth</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
</item>
@@ -1086,12 +1101,12 @@
</connection>
</connections>
<buttongroups>
- <buttongroup name="buttonGroup_5"/>
- <buttongroup name="buttonGroup_6"/>
- <buttongroup name="buttonGroup"/>
<buttongroup name="verticalSpeed"/>
<buttongroup name="buttonGroup_2"/>
<buttongroup name="buttonGroup_3"/>
+ <buttongroup name="buttonGroup"/>
<buttongroup name="buttonGroup_4"/>
+ <buttongroup name="buttonGroup_5"/>
+ <buttongroup name="buttonGroup_6"/>
</buttongroups>
</ui>