[Qt-interest] Removing Qt Stylesheet from child dialog

NoRulez norulez at me.com
Thu Jan 27 21:26:18 CET 2011


Dynamic properties doesn't work with or without refreshing the stylesheet/recalculation.
Is there an other way to remove a stylesheet from a QDialog?

Am 27.01.2011 um 13:17 schrieb Andre Somers <andre at familiesomers.nl>:

> Op 27-1-2011 12:12, NoRulez schreef:
>> But I think I must reload the stylesheet after I set the property, because without reloading nothing happens
> Like I said:
>>> Note that Qt unfortunately does NOT update styling if you update such a
>>> property used as a CSS selector. So, set the property first, and the
>>> style later. Otherwise, you need to force a style recalculation.
> André
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list