Open adem4ik opened 3 months ago
Yes, the Qt library is compiled with the usual styles for Windows (i just looked, they are "Windows", "WindowsXP", "WindowsVista" & "Fusion"). But I certainly prefer Qt to try to use the style that is "closest" to the OS (I like the progress bars and the sliders, Fusion are more "Windows 7" sliders).
I could set the style in main.cpp like this:
59 QApplication app(argc, argv); 60 app.setQuitOnLastWindowClosed(false); 61 app.setStyle(QStyleFactory::create("WindowsXP")); // this one line.
Qt will always allow the user to set the style in the windows arguments, exactly as you described. I think it will confuse users if I put an option in the "Miscellaneous" tab about "GUI style", as they all are very similar.
It could be added as a third option in the "Visual Theme" option (the light UI/dark UI option in Miscellaneous tab) as the dark theme is a complete "reskin" of the widgets, more or less the same thing the "Fusion" theme does.
I'll test if it messes with the UI in some parts. Adding it as a third option costs next to nothing.
Regards, Félix.
Version: 1.29.0
.\TrayWeather.exe -style fusion
Result: It seems like TrayWeather supports Fusion style out of the box, it just needs GUI setting.