PDA

View Full Version : Passing data between QWizard and QWizardpages



Srstka
9th November 2014, 15:57
Hello people,
I'm quite new in C++ programming and encountered QWizard class. Could you pls give me a hint, how can I pass values from QWizard to QWizardpages? (Let's assume, that I passed values from my application to my QWizard class.)

ChrisW67
9th November 2014, 21:23
You can either use the QWizard::setField() (Qt specific) mechanism after the QWizardPage has registered the field during construction, or provide your QWizardPage subclass with setter functions/constructor arguments (generic C++) to take the values.