Is there a way I can set the application theme from inside my application's own code?
For example, a function like that:
setApplicationTheme("Plastique");
You can use this function:
QStyle * QApplication::setStyle ( const QString & style );
Take a look at the Qt docs:
Qt 5
Qt 4.8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With