def init(self, optionsDict=None):
        """ init(optionDict: dict) -> boolean
        Create the application with a dict of settings

        """
        VistrailsApplicationInterface.init(self,optionsDict)

        self.vistrailsStartup.init()
        self._python_environment = self.vistrailsStartup.get_python_environment()
        self._initialized = True
        return True
    def init(self, optionsDict=None):
        """ init(optionDict: dict) -> boolean
        Create the application with a dict of settings

        """
        VistrailsApplicationInterface.init(self, optionsDict)

        self.vistrailsStartup.init()
        self._python_environment = self.vistrailsStartup.get_python_environment(
        )
        self._initialized = True
        return True
 def __init__(self):
     QtGui.QApplication.__init__(self, sys.argv)
     VistrailsApplicationInterface.__init__(self)
     if QtCore.QT_VERSION < 0x40200:  # 0x40200 = 4.2.0
         raise core.requirements.MissingRequirement("Qt version >= 4.2")
     qt.allowQObjects()
 def __init__(self):
     QtGui.QApplication.__init__(self, sys.argv)
     VistrailsApplicationInterface.__init__(self)
     if QtCore.QT_VERSION < 0x40200: # 0x40200 = 4.2.0
         raise core.requirements.MissingRequirement("Qt version >= 4.2")
     qt.allowQObjects()