def __init__(self, argv): """ Constructor @load a config dictionnary """ QApplication.__init__(self, argv) self.settings = QSettings() #for e in self.settings.allKeys(): # print str(e) self.connect(self, SIGNAL('lastWindowClosed()'), self.goodbye) self.undoStack = QUndoStack(self) self.useGL = self.checkGL() self.lowMemory = False self.multiCore = False #self.modelView = 'Samples View' #self.showSplash=self.settings.value('showSplash', True).toBool() from gui.MetBaseGui import MSSplashScreen self.splash = MSSplashScreen( QPixmap(path.normcase("gui/icons/Tux-G2.png")), Qt.WindowStaysOnTopHint) self.splash.show() #self.splash.setMask(pixmap.mask()) self.splash.showMessage((u'Starting now...'), Qt.AlignCenter | Qt.AlignBottom, Qt.black) self.processEvents() self.controllers = {} self.metmsconfig = self.loadConfiguration()