I have a simple stylesheet applied to a Qframe which are going to content some custom widgets.
If I have
Qframe {} syntax every frame of every widget contained on tha main Frame inheritates the stylesheet
.Qframe {} means that only the current frame uses the style.
But if I want to use QFrame to have every frame with this style and write this code at my custom widget constructor :
it results that it does not stop the inheritance.Qt Code:
this->setStyleSheet(""); this->setStyleSheet(styleSheet());To copy to clipboard, switch view to plain text mode
Any idea ?
Thanks
Bookmarks