I'm using Qt, and I use a QWizard object which contains several pages. when it comes to a specific page, I want to hide the "Next" button first, and shows it after the user do something (such as clicking on a radiobutton...)
I want to do some customize control of the wizard when this specific page shows up. the question is, I know how to hide the button, but I don't know which function I should use. I tried the QWizardPage constructor, the initializePage function, the "show" function, but all of these function didn't work.
If I put the button control in the wizard page constructor, the program will crash since the wizard object is not there yet.
If I put it in initializePage function, some QWizard function will reset the buttons after the initializePage function, and all the customized setting will gone.
And the show function seems cannot be overwritten.
I really cannot figure out which function is usable. Is there any function like OnSetActive in MFC or Load in JAVA?? Which will be called when a page is going to shows out?