00001 import sys
00002 from qt import *
00003 from mainWindow import *
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 class cdbVis(QApplication):
00014 def __init__(self,args):
00015 QApplication.__init__(self,args)
00016
00017
00018 splash=QSplashScreen(QPixmap.fromMimeSource("lhcbdetector.png"))
00019 splash.show()
00020 splash.message("Loading CdbVis ...",Qt.AlignRight | Qt.AlignTop, Qt.white)
00021 self.frame = mainWindow(self,self,"frame")
00022 self.frame.setGeometry(200,200,800,600)
00023 self.setMainWidget(self.frame)
00024 self.frame.show()
00025 splash.finish(self.frame)
00026 splash=None
00027 self.setCursorFlashTime(2)
00028 self.exec_loop()
00029
00030
00031
00032 if __name__ == '__main__':
00033
00034
00035 app = cdbVis(sys.argv)
00036
00037
00038
00039
00040