From 57df6adb767e1691599f894e1e3925870b1b3b3f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 21:13:51 +0200 Subject: Ribbon for the screens; centered, distinct tab bar The Open menu becomes a toolbar ribbon (icon over label: Dashboard, Packages, Jobs) using the desktop icon theme with Qt fallbacks. Tabs are centered with a bordered, rounded shape, the selected one filled with the highlight color and joined to a highlight line over the pane, so the bar reads as its own control. Colors come from the palette. Co-Authored-By: Claude Opus 5.5 --- tests/test_gui.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/test_gui.py') diff --git a/tests/test_gui.py b/tests/test_gui.py index bf9177a..b99aebf 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -383,6 +383,16 @@ class SmokeTest(unittest.TestCase): w.dashboard.jobs.clicked.emit() self.assertIs(w.tabs.currentWidget(), w.jobs_tab) + def test_ribbon_opens_tabs(self): + w, _ = self.window() + w.poll_jobs() + self.assertEqual([a.text() for a in w.ribbon.actions()], ["Dashboard", "Packages", "Jobs"]) + self.assertEqual([m.text() for m in w.menuBar().actions()], ["&File"]) + w.ribbon.actions()[1].trigger() + self.assertIs(w.tabs.currentWidget(), w.packages_tab) + w.ribbon.actions()[0].trigger() + self.assertIs(w.tabs.currentWidget(), w.dashboard) + def test_tab_shortcuts_wrap(self): w, _ = self.window() w.poll_jobs() -- cgit v1.2.3