How to edit QtDesigner widget class? [duplicate]
问题 This question already has answers here : How do I use promote to in Qt Designer in pyqt4? (1 answer) Customising code of Qt designer widget? (1 answer) Closed 11 months ago . I'm using PyQt5 Designer for my project. I converted UI file into py with pyuic and imported it into my code. Right now I'm struggling with editing class that was made by QtDesigner for my widget. I'm trying to create new class(Canvas) and inherit it from App.canvas class that is written in test.py(pyuic file) and then