Accessing elements of QWizardPage created by QWizard in QT Designer
-
Hi,
What would you like to do with that combo box ?
-
Where do you want to access that value ?
From another page ?
-
Assuming that your fourth page is wiz4 of type QWizardPage. Items are added to page as children. You can do the following to get it.
QComboBox *box1 = wiz4->findChild<QComboBox*>(); box1->addItem("tesmai4");
-
I wouldn't recommend findChild for that use case. A properly written widget can provide the needed information.