PDA

View Full Version : Style Sheet Question



zgulser
8th May 2012, 19:33
Hi,

I'm using the following style sheet;



QFrame#myFrame { ... }


But I want this style sheet only effect the "myFrame" not it's children.

How can I do this?

DarthRamone
8th May 2012, 22:30
If I understand correctly:

myFrame->setStyleSheet("QFrame { }");

zgulser
9th May 2012, 07:22
Hi,

Yes you definitely understand it correctly, but I forgot to say that I want to do this in my qss file.