Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Connecting QPushButton of QWizardPage with NextButton of QWizard!
Pedro_Monteiro last edited by
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.
Pedro_Monteiro last edited by Pedro_Monteiro
@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.