Dark theme for LibreVNA GUI
Summary
It would be fantastic if the GUI supported dark mode, as the dock bar can be glaring at night even when the display area is dark by default.
Paths to implement it
add a dark theme to the docks area.
Extra information
no.
i agree, that would be great!
I agree as well and am actually already using the GUI with a dark theme: if you build the source code with Qt 6.8.0 (or higher) it automatically adjusts to your OS theme. But the automatic builds in this repository are still using an earlier Qt version, so it does not work with them. I will see whether it is easy to update them.
But I have not yet figured out how to give the user a theme choice (and possibly overwriting the OS theme). Apparently there are a couple of different ways to do it (e.g. QStyleHints::setColorTheme) but when attempting to use this is a quick test it does not work on my machine. I'll look into it some more and if someone is more familiar with theme settings in Qt6 than I am please give me some hints.
Thank you! I think matching OS theme is also a good solution for me since I always turn on system dark mode at night.
I made a first attempt of updating the Qt version in the automatic builds (on this branch) but so far I had no success. The problem is that I can only make changes to the Github action script, push the commit and then observe the compiler output. This is a fairly slow process and error messages can be a bit cryptic. As far as I know, there is no way of inputting/testing commands live on the build server.
If anyone reading this is more familiar with Qt and Github actions feel free to chime in, I would appreciate the help!