From 75b5be8f40df3d3b7d354eead0439b53b2490024 Mon Sep 17 00:00:00 2001 From: willemferguson Date: Tue, 10 Dec 2019 15:02:13 +0200 Subject: Preferences UI: add reset tab Add a separate preferences tab for resetting all preferences to their default values. One or two very small alterations to other sections of the preferences UI code. Signed-off-by: willemferguson Signed-off-by: Dirk Hohndel --- .../preferences/preferences_defaults.ui | 97 ++++++++++++---------- 1 file changed, 54 insertions(+), 43 deletions(-) (limited to 'desktop-widgets/preferences/preferences_defaults.ui') diff --git a/desktop-widgets/preferences/preferences_defaults.ui b/desktop-widgets/preferences/preferences_defaults.ui index 3d9e45c98..030bb77d6 100644 --- a/desktop-widgets/preferences/preferences_defaults.ui +++ b/desktop-widgets/preferences/preferences_defaults.ui @@ -14,15 +14,17 @@ Form + - Lists and tables + Font for lists and tables 5 + @@ -33,6 +35,18 @@ + + + + + true + + + + + + + @@ -43,6 +57,7 @@ + @@ -52,43 +67,55 @@ Animations - + 5 + - - - Speed + + + - - - - - - 500 + + true - - Qt::Horizontal + + In some actions, e.g. when zooming the dive profile, the changing axis values are animated. Select the speed with which this animation should occur (maximum = 500): - - - - 500 - - + + + + + + + Speed + + + + + + + 500 + + + Qt::Horizontal + + + + + + + 500 + + + + - - - - - - - Reset all settings to their default value - + @@ -109,22 +136,6 @@ - - btnUseDefaultFile - toggled(bool) - chooseFile - setHidden(bool) - - - 462 - 136 - - - 528 - 145 - - - velocitySlider valueChanged(int) -- cgit v1.2.3-70-g09d2