How can I add Tab as UI file from qtdesigner converted file PYQT5?
Unsolved
Qt for Python
-
I have a main windows which contain Add tab button and empty space.. I have a ui file converted to py file.. So I want to add that UI contents to empty space and when I add new tab it must create instance of UI file content in new tab. How can I do this ?
My Main File:
https://hastebin.com/kinocobire.rb
My UI file converted to PY:
-
@aadil50 said in How can I add Tab as UI file from qtdesigner converted file PYQT5?:
setCentralWidget
QWidget has no central widget, only QMainWindow has one.