Nov-28-2022, 12:55 PM
try this
def main(): app = QApplication(sys.argv) window = MainWindow() table = Table(parent=window) table.define_table() window.setCentralWidget(table) window.show() #table.show() app.exec()