I have many QtDesigner py files (version 5.11). I want to include the classes of the QtDesigner py files in a main class. Manually, I would do this for the first subclass, mainMenu.py
menu = QtWidgets.QMainWindow()
menu.Ui_mainMenu = mainMenu.Ui_mainMenu
menu.QtCore = mainMenu.QtCore
menu.QtGui = mainMenu.QtGui
menu.QtWidgets = mainMenu.QtWidgets
Then, I'd have to take the next QtDesigner-generated py file and add its Ui_nextMenu, etc. I suppose that there must be an automated way to populate the menu class with all the Ui_* classes from the files. Any help, please.