def __init__(self, mainEngine): QtGui.QWidget.__init__(self, None) StepWidget.__init__(self, mainEngine) self.gui = Ui_welcome() self.gui.setupUi(self)