[Qt-interest] How to reset the stylesheet and attribute of a Widget

Zhongmiao Li mars.leezm at gmail.com
Sun Dec 19 17:35:07 CET 2010


Hi everyone,

does the style or windowAttribute of a Widget automatically casicaded
to its children?

 I mentioned that my VideoWidget is totally transparent, but now even
if I create it without a parent as an independent window, the content
is still transparent.


So is there a function to reset all those possible styles ( like
windowType,  Attribute, Stylesheet) to default?

Thank you!


-- 
Best regards
Li Zhongmiao
Digital Media, College of Computer Science, Zhejiang University



More information about the Qt-interest-old mailing list