stylesheet ... better in QtCreator or in mainwindows code?
Ultimately, I used to insert the element's stylesheet in QtCreator .... but is it a good habit for the performance of the application or is it better to insert the stylescheet into the mainwindows code?
any suggest is appreciate.
Inserting in Creator is also just code. (inside setupUI)
There is no performance difference.
However, it sometimes beneficial to set via code directly on
the QApplication object so all windows are affected
even if not child of main window.