Solved!
I have modified my qwidget A declaration, making it extends QFrame instead of QWidget and then using:
in order not to propagate the style to children.Qt Code:
setStyleSheet("A{ background-color: yellow }");To copy to clipboard, switch view to plain text mode
Thanks
P.S. This site helps to overcome these kind of problems. It explains how to set backgrounds on widgets of frames.
Bookmarks