http://sourceforge.net/projects/eric-ide/files/eric4/stable/4.4.10/ ''' Created on 2010-12-29 @author: Administrator ''' import sys from PyQt4 import QtCore,QtGui from test_ui import Ui_Form class MyForm(QtGui.QMainWindow): def __init__(self,parent=None): QtGui.QWidget.__init__(self,parent) self.ui=Ui_Form() self.ui.setupUi(self) if __name__=='__main__': app=QtGui.QApplication(sys.argv) myapp=MyForm() myapp.show() sys.exit(app.exec_())