[Qt-interest] QWizard: disable next button?

Rui Maciel rui.maciel at gmail.com
Tue Nov 10 21:16:48 CET 2009


RZ wrote:

> Rui Maciel schrieb:
>> Is it possible to disable the "next" button on a wizard until some custom
>> validation tests are passed?
>
> Yes
> validateCurrentPage()

I've implemented a QWizardPage::validatePage() that only returned false and, although the wizard didn't moved 
forward when clicking on the "next" button, the button was still enabled.

Is this a bug on the Qt version I'm using (Qt 4.5.2) or it isn't possible to disable the next button?


Rui Maciel



More information about the Qt-interest-old mailing list