Important: Please read the Qt Code of Conduct -

How to make a widget style-sheet resistant?

  • I am creating a .qss file for my MainWindow to be read at startup. I want the stylesheet not to affect some of the widgets in my MainWindow. Can I make a widget stylesheet resistant, so that the properties cannot be changed by a stylesheet?

Log in to reply