__init__ question
Unsolved
Qt for Python
-
When i create a .ui and convert it to py it does not contain a def init but all the examples i see on youtube for pyqt stuff everyone uses it, can someone explain why they use it, but dosnt seem to be required to run the qt app?
-
there are two ways to use forms:
The first way is to run the setupUi() method on a target widget. The other way is to subclass the Ui_xxxx class itself. You're probably seeing examples of the second method where the subclass has its own init() method.