00001 # -*- coding: utf-8 -*- 00002 00003 __version__ = "$Revision: 1.2 $" 00004 00005 import sys 00006 from qt import * 00007 from GOSEDTKR import GOSEDTKRWindow 00008 00009 00010 class GOSEDTKRImpl(GOSEDTKRWindow): 00011 00012 def __init__(self,parent = None,name = None,fl = 0): 00013 GOSEDTKRWindow.__init__(self,parent,name,fl) 00014 00015 if __name__ == "__main__": 00016 a = QApplication(sys.argv) 00017 QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) 00018 w = GOSEDTKRImpl() 00019 a.setMainWidget(w) 00020 w.show() 00021 a.exec_loop()