Hello.
I have created a simple wizard for testing purpose. It has two pages with one QLineEdit field (du_email_f and du_name) on each one.
My question is how do i register field?
i have already tried:
ui->page_1->registerField("test", ui->du_email_f);
ui->page_1->registerField("test", ui->du_email_f);
To copy to clipboard, switch view to plain text mode
and
this->page(0)->registerField("test", ui->du_email_f);
this->page(0)->registerField("test", ui->du_email_f);
To copy to clipboard, switch view to plain text mode
Both lines were placed in main wizard clas file in constructor (not at the same time ofc.)
In both cases i get "248: error: 'void QWizardPage::registerField(const QString&, QWidget*, const char*, const char*)' is protected within this context."
Bookmarks