[Qt-interest] QFrame::setFrameStyle() and QApplication::setStyleSheet working together?

Markus Franke markus.franke at informatik.tu-chemnitz.de
Tue Feb 17 13:13:04 CET 2009


Zitat von Tony Rietwyk <tony.rietwyk at rightsoft.com.au>:
> Does it work with the stylesheet with everything commented out? Then
> progressively uncomment more of the stylesheet to isolate the problem.

No, as soon as I make a call to setStyleSheet() the frame disappears.

> Strangely, I found this afternoon that QFrame in 4.4.3 ignores
> 'border-color: red;' if set in the widget stylesheet - despite being listed
> as supported in the Qt Style Sheets Reference for border-color.

Haven't tried something like this.

So long,
Markus




More information about the Qt-interest-old mailing list