I start my application initially in a dark color theme according to this example.
I would like to make possible for users, to switch back to their current default system color profiles of their operating system (as I start that application without setting QPalette). Is that posssible?
One possible way is just use default settings and parameters:
But this way has some limitation: we need some
QWidget
for setting palette, in my way I usethis
poiter toQMainWindow
, however it is not so serious problem i think.