How set background of dialog only
I am designing a dialog the background of which should be a colour gradient but the labels should be transparent.
So in Qt Designer I set the style sheet for the dialog but of course this means that labels added to the dialog also have the gradient effect. I want these labels to be transparent but cannot work out how to achieve this.
I would be grateful if someone could help me with this.
Make use of selectors as in "here":http://doc.qt.digia.com/qt/stylesheet-syntax.html
Please mark the title Solved.