Take a look at the docs of QWizardPage::isComplete().