def __init__(self, model): self.model = model super(View, self).__init__() self.ui_view = Ui_MainWindow() self.ui_view.setupUi(self)