Пример #1
0
 def openCta(self):
     """打开CTA组件"""
     try:
         self.widgetDict['ctaM'].showMaximized()
     except KeyError:
         self.widgetDict['ctaM'] = CtaEngineManager(
             self.mainEngine.ctaEngine, self.eventEngine)
         self.widgetDict['ctaM'].showMaximized()
Пример #2
0
 def openCta(self):
     """打开CTA组件"""
     try:
         self.widgetDict['ctaM'].showMaximized()
     except KeyError:
         '''2017050300 Modify by hetajen begin'''
         self.widgetDict['ctaM'] = CtaEngineManager(
             self.mainEngine.ctaEngine, self.eventEngine, self.isInitCTA)
         '''2017050300 Modify by hetajen end'''
         self.widgetDict['ctaM'].showMaximized()