From e5a946bb1ad3b43a3a65159f609c0a5f85431cd7 Mon Sep 17 00:00:00 2001
From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com>
Date: Sat, 14 Jan 2023 01:55:13 +0100
Subject: [PATCH] Reorder preferences
---
ftl/core/preferences.ftl | 4 +-
qt/aqt/forms/preferences.ui | 264 +++++++++++++++++-------------------
2 files changed, 123 insertions(+), 145 deletions(-)
diff --git a/ftl/core/preferences.ftl b/ftl/core/preferences.ftl
index 089aa7d99..8840de981 100644
--- a/ftl/core/preferences.ftl
+++ b/ftl/core/preferences.ftl
@@ -48,7 +48,8 @@ preferences-monthly-backups = Monthly backups to keep:
preferences-minutes-between-backups = Minutes between automatic backups:
preferences-reduce-motion = Reduce motion
preferences-reduce-motion-tooltip = Disable various animations and transitions of the user interface
-preferences-collapse-toolbar = Hide top bar
+preferences-hide-top-bar-during-review = Hide top bar during review
+preferences-hide-bottom-bar-during-review = Hide bottom bar during review
preferences-appearance = Appearance
preferences-general = General
preferences-style = Style
@@ -62,7 +63,6 @@ preferences-default-deck = Default deck
preferences-account = AnkiWeb Account
preferences-media = Media
preferences-note = Note
-preferences-limits = Limits
preferences-scheduler = Scheduler
preferences-user-interface = User Interface
preferences-import-export = Import/Export
diff --git a/qt/aqt/forms/preferences.ui b/qt/aqt/forms/preferences.ui
index 37188f957..9ea7e917d 100644
--- a/qt/aqt/forms/preferences.ui
+++ b/qt/aqt/forms/preferences.ui
@@ -7,7 +7,7 @@
0
0
604
- 634
+ 638
@@ -79,23 +79,6 @@
preferences_user_interface
- -
-
-
- preferences_theme
-
-
-
- -
-
-
- -
-
-
- preferences_style
-
-
-
-
@@ -103,6 +86,9 @@
+ -
+
+
-
@@ -126,38 +112,17 @@
-
-
-
- -
-
-
- preferences_reviewer
-
-
-
-
-
-
-
- 0
- 0
-
-
+
-
+
- preferences_collapse_toolbar
+ preferences_style
- -
-
-
-
- 0
- 0
-
-
+
-
+
- preferences_show_play_buttons_on_cards_with
+ preferences_theme
@@ -199,30 +164,40 @@
+ -
+
+
+
+ 0
+ 0
+
+
+
+ preferences_hide_top_bar_during_review
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ preferences_hide_bottom_bar_during_review
+
+
+
- -
-
-
- Qt::Vertical
-
-
- QSizePolicy::Expanding
-
-
-
- 20
- 20
-
-
-
-
- preferences_basic
+ preferences_editing
-
@@ -347,54 +322,6 @@
- -
-
-
- preferences_review
-
-
-
-
-
-
-
- 0
- 0
-
-
-
- preferences_show_next_review_time_above_answer
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- preferences_show_remaining_card_count_during_review
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- preferences_interrupt_current_audio_when_answering
-
-
-
-
-
-
-
@@ -437,11 +364,11 @@
- preferences_scheduler
+ preferences_review
-
+
-
-
+
preferences_scheduler
@@ -505,18 +432,6 @@
-
-
-
-
-
-
- -
-
-
- preferences_limits
-
-
-
-
12
@@ -598,21 +513,72 @@
+ -
+
+
-
-
-
- Qt::Vertical
+
+
+ preferences_review
-
-
- 20
- 16
-
-
-
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ preferences_show_play_buttons_on_cards_with
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ preferences_interrupt_current_audio_when_answering
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ preferences_show_remaining_card_count_during_review
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ preferences_show_next_review_time_above_answer
+
+
+
+
+
@@ -996,6 +962,19 @@
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 16
+
+
+
+
-
@@ -1024,8 +1003,6 @@
theme
styleComboBox
uiScale
- collapse_toolbar
- showPlayButtons
reduce_motion
minimalist_mode
pastePNG
@@ -1033,17 +1010,16 @@
useCurrent
default_search_text
ignore_accents_in_search
- showEstimates
- showProgress
- interrupt_audio
legacy_import_export
- sched2021
- dayLearnFirst
legacy_timezone
- newSpread
dayOffset
lrnCutoff
timeLimit
+ newSpread
+ showPlayButtons
+ interrupt_audio
+ showProgress
+ showEstimates
syncMedia
syncOnProgramOpen
autoSyncMedia
@@ -1055,6 +1031,8 @@
weekly_backups
monthly_backups
tabWidget
+ sched2021
+ dayLearnFirst