jimmyvegas29 last edited by
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?
Kent-Dorfman last edited by
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.