Example to set theme during runtime.
wxguy opened this issue · 1 comments
wxguy commented
Thanks for the theme. It works perfectly on my system. Now I would like to implement dark and light theme to my application with switch to change from a click of button. How do I do that?
Jerakin commented
Sorry for a late reply. This is actually already in the example :)
Change theme
qtmodern/examples/mainwindow.py
Lines 61 to 66 in 7a9aeb1
Connect buttons as usual
qtmodern/examples/mainwindow.py
Lines 39 to 40 in 7a9aeb1