I've used PyQt for quite a while, and the entire time I've used it, there has been a pretty consistent programming pattern.
- Use Qt Designer to create a .ui file.
- Create a python class of the same type as the widget you created in the .ui file.
- When initializing the python class, use uic to dynamically load the .ui file onto the class.
Is there any way to do something similar in PySide? I've read through the documentation and examples and the closest thing I could find was a calculator example that pre-rendered the .ui file out to python code, which is the super old way of doing it in PyQt (why bake it to python when you can just parse the ui?)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…