# Don't edit the next class definition and the init method # the need it by the run script for automatic generated code # The attribute ui from MyMainWindow is a convention to the basis working class MyMainWindow(QtGui.Q{{widget-name}}): def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Ui_{{class-name}}() self.ui.setupUi(self) ############################################################################### # start here to insert your code # ###############################################################################