PDA

View Full Version : Qt Stylesheet



bunjee
22nd January 2009, 14:40
http://doc.trolltech.com/4.5/qwidget.html#setStyle


Warning: Qt style sheets are currently not supported for custom QStyle subclasses. We plan to address this in some future release.

Anyone knows why ? Is there a way to bypass this ?

jpn
22nd January 2009, 15:48
Anyone knows why ?
Because the style sheet support itself was implemented as a QStyle subclass, namely QStyleSheetStyle.


Is there a way to bypass this ?
Currently, no. QStyleSheetStyle is a private class.