How can I connect a page's function to a qwizard's next button?
<p>I have been looking at <a href="https://github.com/Werkov/PyQt4/blob/master/examples/dialogs/trivialwizard.py" rel="nofollow noreferrer">this</a> example. I wrote my code based on it but I still can't figure out how to connect the qwizard's next button. For example, I'd like it to print the page's name and number everytime the next button is clicked. Same with the finish button, when finish is clicked I would like it to print "finish!" on the console, mainly to know  how to connect those buttons to execute a function in one of the pages.</p>