I have created a wizard in Qt Designer. I would like one of the pages to be populated with variable information, depending on what data was provided in previous wizard pages. From the Qt documentation, I see the information to initialize with C++, but I can't determine how to do it with Python.
I've found this but again, it's C++. I tried using the Promote Widget... command in Qt Designer, but it asks for the class and header, so again, I don't see how to use it for Python.
I found this for Python, but it appears to be a manually created Qt Wizard, rather than one created with Qt Designer.
I tried using self.wizardPage.initialize()
, which should work, but I couldn't figure out how to "populate" that method without rewriting the entire class for that page. And assuming I did that, I couldn't figure out how to insert that new class into the wizard.
I looked at created a new Wizard Page in my Python code, with the intention of overriding the existing page in the Wizard, but had no success with that. Do I just have to hand-code the wizard and forego Qt Designer?