May-26-2022, 09:21 AM
What tool did you use to convert the designer form to Python? I am going to assume you used uic.
It appears that the converter expects you to make a QMainWindow object and pass that as an argument to setupUI. This is an article that discusses how you use the generated file to create a window.
https://doc.qt.io/qt-5/designer-using-a-...ython.html
It appears that the converter expects you to make a QMainWindow object and pass that as an argument to setupUI. This is an article that discusses how you use the generated file to create a window.
https://doc.qt.io/qt-5/designer-using-a-...ython.html