def __init__(self, universalLogging=True, **kw): print "Qt ScriptEngine init" # self.logger = logging.getLogger("qt engine") storytext.guishared.ScriptEngine.__init__(self, universalLogging=universalLogging, **kw) describer.setMonitoring(universalLogging) if self.uiMap or describer.isEnabled(): self.performInterceptions() print "Qt ScriptEngine init returns"
def addUiMapFiles(self, uiMapFiles): if self.uiMap: self.uiMap.readFiles(uiMapFiles) else: self.uiMap = simulator.UIMap(self, uiMapFiles) if self.replayer: self.replayer.addUiMap(self.uiMap) if not describer.isEnabled(): self.performInterceptions()
def __init__(self, universalLogging=True, **kw): storytext.guishared.ScriptEngine.__init__(self, universalLogging=universalLogging, **kw) describer.setMonitoring(universalLogging) if self.uiMap or describer.isEnabled(): self.performInterceptions()