Without any experiments on this: enum WizardButton { BackButton, NextButton, CommitButton, FinishButton, ..., Stretch } void QWizard::setButton ( WizardButton which, QAbstractButton * button ); Sorry i do never have used it, so i can't give you better help.