This is a method of QWizardPage so it can only be called from the context of the page and not the wizard.
This is a method of QWizardPage so it can only be called from the context of the page and not the wizard.
quain (5th December 2010)
Thanks for fast answer.
Well, ill stick to my current method: Designing separated wizard pages and combinig them in no-ui wizard class.
Thanks for you time Wysota.
Same problem here.
Well that is obvious.
But how is one supposed to set mandatory fields at all, when using the designer?
You can't access the QWizardPages instances in code, because the code is auto-generated by the designer. If you put the code in there, it is lost the next time uic is run.
If you can't modify the QWizardPages then a designer for QWizardPages is pointless, or am I missing something here?
Regards,
Philipp
You can promote pages to custom classes and implement those classes in code.
Bookmarks