- 
    Suggestion 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    5.2.1
- 
    None
- 
        qtbase 7293200ace12f4870b87bb6a1f5a22ef53bf52cd
Whenever css is defined it changes inheriting properties of parent widget even if a widget has no rule in stylesheet.
It would be nice to have a mechanism which can let child widget to inherit all parents property if there is no stylesheet rule for child widget.
#include <QtWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setStyleSheet(" "); QLabel *w = new QLabel("some text"); QPushButton *pb = new QPushButton("text", w); w->setFont(QFont("Arial", 45)); w->resize(400, 300); w->show(); return app.exec(); }
- relates to
- 
                    QTBUG-58221 Resetting StyleSheet of QSpinBox with empty string "" does not reset the font properties of the embedded QLineEdit -         
- Closed
 
-