Exemple #1
0
 def requestShowPopover(self, alias, data):
     event = g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data})
     if event is not None:
         self.fireEvent(event, scope=self.__scope)
     else:
         LOG_ERROR('Event of opening popover can not be created', alias)
     return
Exemple #2
0
 def requestShowPopover(self, alias, data):
     if IS_BOOTCAMP_ENABLED:
         from bootcamp.Bootcamp import g_bootcamp
         if g_bootcamp.isRunning():
             if data is not None and hasattr(data, 'slotType') and data.slotType != 'optionalDevice' and not g_bootcamp.isResearchFreeLesson():
                 return
             if data is None and alias != 'bootcampBattleTypeSelectPopover':
                 return
     event = g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data})
     if event is not None:
         self.fireEvent(event, scope=self.__scope)
     else:
         LOG_ERROR('Event of opening popover can not be created', alias)
     return
Exemple #3
0
 def requestShowPopover(self, alias, data):
     self.fireEvent(
         g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data}),
         self.__scope)
Exemple #4
0
 def requestShowPopover(self, alias, data):
     self.fireEvent(g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data}), self.__scope)