QStyleHelper
QStyleHelper copied to clipboard
Additional Features / Roadmap
- Which features will not work if i use stylesheets?
- Are you planning MacOS and Linux auto switching support?
- for example when the dark / light mode changes with day / night
- Do you have any roadmap?
- You only mention qt5, is qt6 supported as well?
Thanks a lot :)
If you use stylesheets the palettes not working but you can use the signal to change your stylesheet between dark/light as well. I tried on linux and It auto sync with gnome or kde dark/light changes, for macos I don't have this. Actually I don't think about any roadmap/feature planning yet. First attempt is getting dark titlebar on windows using <Qt5.15 and blur acrylic mica effects. Yes It supports Qt6 if I remember correctly. You're welcome :) Contributions are welcome if you have any improvements 👍
Ok, thanks a lot for your reply, i will check it on MacOS on my MacMini Buildserver when i have some time and eventually open a PR.
Another question: I see you use a timer to check if the style has changed, from QT6 onwards one can use an Event on the MainWindow (like i do here https://github.com/Murmele/Gittyup/pull/430/files). It would be an improvement to have the ability to disable the timer when using QT6 and just call a function of the QStyleHelper in MainWindow::changeEvent.
I looked at the code but don't understand the event does include the system dark/light or only notify theme is changed but don't tell about dark/light?
Yea the event only notifies about the change i think.