From c179ea992c8d57d45423317b64b7283296ae485d Mon Sep 17 00:00:00 2001 From: Dawn Date: Sat, 8 Aug 2026 18:40:59 +0200 Subject: [PATCH] style: relabel theme entries, tuck prototype views into the View menu Legacy/Portrait themes become Sunrise (default)/Sunset. Automation View and Portrait (now Playlist) Mode leave the menubar for the View menu with in-progress labels; Return to Main View stays top-level since it only shows inside the automation view. Co-Authored-By: Claude Fable 5 --- src/aare/gui/main_window.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/aare/gui/main_window.py b/src/aare/gui/main_window.py index 2f613ec9..a6eea740 100644 --- a/src/aare/gui/main_window.py +++ b/src/aare/gui/main_window.py @@ -1798,33 +1798,36 @@ class MainWindow(QMainWindow): quit_action.triggered.connect(self.close) file_menu.addAction(quit_action) - self._enter_automation_view_action = QAction("Automation View", self) + # Prototype views live in the View menu (below the themes), not on the + # menubar; only their in-progress labels changed, the internal + # action/slot names stay. + self._enter_automation_view_action = QAction("Automation View (prototyping)", self) self._enter_automation_view_action.setShortcut(QKeySequence("Ctrl+5")) self._enter_automation_view_action.triggered.connect(self.enter_compact_automation_view) - menu_bar.addAction(self._enter_automation_view_action) + # Stays top-level: it only shows while INSIDE the automation view, + # where the way back must not hide in a menu. self._return_main_view_action = QAction("Return to Main View", self) self._return_main_view_action.setShortcut(QKeySequence("Ctrl+Shift+5")) self._return_main_view_action.triggered.connect(self._return_from_compact_automation_view) menu_bar.addAction(self._return_main_view_action) - self._portrait_mode_action = QAction("Portrait Mode", self) + self._portrait_mode_action = QAction("Playlist Mode (work in progress)", self) self._portrait_mode_action.setShortcut(QKeySequence("Ctrl+6")) self._portrait_mode_action.triggered.connect(self.enter_portrait_mode) - menu_bar.addAction(self._portrait_mode_action) view_menu = menu_bar.addMenu("View") self._theme_action_group = QActionGroup(self) self._theme_action_group.setExclusive(True) - self._use_legacy_theme_action = QAction("Legacy Theme", self) + self._use_legacy_theme_action = QAction("Sunrise Theme (default)", self) self._use_legacy_theme_action.setCheckable(True) self._use_legacy_theme_action.setChecked(self._theme_mode == THEME_ORIGINAL) self._use_legacy_theme_action.triggered.connect(self.use_legacy_theme) self._theme_action_group.addAction(self._use_legacy_theme_action) - self._use_portrait_theme_action = QAction("Portrait Theme", self) + self._use_portrait_theme_action = QAction("Sunset Theme", self) self._use_portrait_theme_action.setCheckable(True) self._use_portrait_theme_action.setChecked(self._theme_mode == THEME_PORTRAIT) self._use_portrait_theme_action.triggered.connect(self.use_portrait_theme) @@ -1833,6 +1836,9 @@ class MainWindow(QMainWindow): view_menu.addAction(self._use_legacy_theme_action) view_menu.addAction(self._use_portrait_theme_action) view_menu.addSeparator() + view_menu.addAction(self._portrait_mode_action) + view_menu.addAction(self._enter_automation_view_action) + view_menu.addSeparator() show_samples_action = QAction("Show Sample List", self) show_samples_action.setCheckable(True)