For my tool I need to guide user through some setup steps, and a Wizard approach would work best, with user going through a couple pages in order, answering questions.
I tested QWizard in maya, and it works, however there does not seem like it has correct styling. The background is white, but text is bright grey. It looks like Autodesk simply did not bother styling it, likely because it’s not used anywhere in Maya.
So this raises a question - would it be safe to use? Or should I just go with a regular proven QWidget\Window and code my own wizard there?
Here’s the code I tried using it with. I also tried parenting it under Maya window, and the result is exactly the same. It’s slightly adjusted code from PySide docs.
from PySide2.QtGui import * from PySide2.QtWidgets import * from PySide2.QtCore import * def createIntroPage(): page = QWizardPage() page.setTitle("Introduction") label = QLabel("This wizard will help you register your copy of Super Product Two.") label.setWordWrap(True) layout = QVBoxLayout() layout.addWidget(label) page.setLayout(layout) return page wizard = QWizard() wizard.addPage(createIntroPage()) wizard.setWindowTitle("Trivial Wizard") wizard.show()