QWizard and style sheet

  • Hi
    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?


  • Qt Champions 2016

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.