I`m create QWizard and add several pages to it with QtCreator(built-in Qt Designer). I want to make some fields to be mandatory in constructor of QWizard, like this:
Qt Code:
  1. this->page(0)->registerField("name*",m_ui->lname);
To copy to clipboard, switch view to plain text mode 
but this method of QWizardPage is protected. I can`t find constructor of QWizardPages, which has been added to .ui file in graphical mode