Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QWizard and style sheet
GrahamL last edited by
My application uses a global style sheet to style most widgets including QDialog and QPushButton
I now want a class derived from QWizard to inherit this style sheet and thought that it would automatically pick up the settings for QDialog, but this is not the case.
Have I missed something or must I manually set the style sheet in the wizard code?
Hi, as far as I know, you must override the paint and make it use a style
It worked for me when Parent was QWidget.
Not sure same applies when Parent is QWiz but in some sense parent is still a QWidget.
Anyway, though I would mention it.