Hi,

I want to set my widgets' background color to black and text color to gray.
Qt Code:
  1. qApp->setStyleSheet(QString("QWidget {background: black; color: gray;}
To copy to clipboard, switch view to plain text mode 

BUT...

there are some widgets(about 4 or 5 classes) for which I do not want to set the new colors.

How to exclude those classes?

Thanks for any hint.

Kacper