IMO you have made something that exemplified elegant simplicity into something unnecessarily complex.
With this:
I only need be aware of two UI elements: the palette list and the button stack: I can switch between them with the Tab key, I can traverse both with the ↓ and ↑ keys, and I can 'press' a button with the Enter key.
With this:
I have to be aware of five UI elements, the palette list and the button stack on the Palettes tab panel, the button stack on the Settings tab panel, the Toggle Dark/Light button, and the row of buttons at the bottom. I have to use the Tab key to move between them
However, it is very hard to see which of the five UI elements has focus. If you look at the screenshot on the left you might be able to discern it's the Toggle Light/Dark button, and in the screenshot on the right its the Restore Calibre Defaults button.
You can't solve the visibility issue, that's baked into the Qt/calibre pie
And when I 'pressed' the Export Selected File button, I got an error:
Code:
calibre, version 9.3.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:cannot access local variable '_' where it is not associated with a value
calibre 9.3 Portable embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.14.2
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: D:\Calibre\Portables\Version 9 current\Calibre\calibre.exe
Successfully initialized third party plugins: Current Paths (3, 0, 0) && Palette Switcher (1, 0, 900)
Traceback (most recent call last):
File "calibre_plugins.palette_switcher.main", line 284, in export_palette
UnboundLocalError: cannot access local variable '_' where it is not associated with a value
BR