Connecting QPushButton of QWizardPage with NextButton of QWizard!
Hi, how could I connect a QPushButton of a QWizardPage with the Next Button of Qwizard?
What I want is: when I click in the QPushButton created in the QWizardPage, the page goes to the next screen.
there is void QWizard::next() slot
so you can connect buttons clicked to that.
@mrjj How could I use QWizard::next() inside a QWizardPage?
Is there any example?
its a slot so u just send signal to by binding it to the signal a button gives.
connect( Wizpage->pushButton, SIGNAL(released()), QWizardPointer, SLOT(next()));
Maybe you need to connect it where you create the wizpages as there it both knows the button and the Wizard.