Thanks a million, It solved my problem, i did the following:
bool QWizardPage::isComplete()const
{
if (startPushButton->isEnabled()) {
return false;
} else {
return true;
}
}
bool QWizardPage::isComplete()const
{
if (startPushButton->isEnabled()) {
return false;
} else {
return true;
}
}
To copy to clipboard, switch view to plain text mode
I am puzzled why I can't disable the QWizard's NextButton in QWizardPage::initializePage(). I did the following:
button->setEnabled(false);
QAbstractButton *button = wizard()->button(QWizard::NextButton);
button->setEnabled(false);
To copy to clipboard, switch view to plain text mode
If you have any suggestions why this is the case, I'd be interested to hear the reason!
Any help would be appreciated!
Bookmarks