Hi,
As far as I know a widget does not inherit it's parent style sheets as the documentation says as well;
But in the "Cascading" part of the document it says;When using Qt Style Sheets, a widget does not automatically inherit its font and color setting from its parent widget.
Here it says a widget can inherit the style sheet. So what's the deal here?An arbitrary widget's effective style sheet is obtained by merging the style sheets set on the widget's ancestors (parent, grandparent, etc.), as well as any style sheet set on the QApplication.
Thanks from advance..


Reply With Quote
Bookmarks