Quote Originally Posted by jacek View Post
How do you expect to see the colour of something that is completely transparent?


Yes, but QPalette doesn't control everything. You might have to create your own style to fully customize the appearance of that widget.
Eh? I am talking about the frame itself. It is a QGroupBox (creates a frame and label around other widgets). And the problem isnt that i cannot see it; the problem is that it does not respond to changes in the application palette, like every other widget in the program.
I had to do something like this when initializing it to get it to work:

attrBox = new QGroupBox("Attributes");
attrBox->setPalette(QApplication::palette() );

I thought that it would already be initialized with the application's palette.

It was my understanding that every widget in an application shared the same palette initially. is this not true?