コード例 #1
0
 def bootstrap_post_set_up(self):
     """
     Run any post-setup code for the tabs on the form
     """
     # General tab
     self.general_tab = GeneralTab(self)
     # Themes tab
     self.themes_tab = ThemesTab(self)
     # Projector Tab
     self.projector_tab = ProjectorTab(self)
     # Advanced tab
     self.advanced_tab = AdvancedTab(self)
     # Advanced tab
     self.player_tab = PlayerTab(self)
     self.general_tab.post_set_up()
     self.themes_tab.post_set_up()
     self.advanced_tab.post_set_up()
     self.player_tab.post_set_up()
     for plugin in self.plugin_manager.plugins:
         if plugin.settings_tab:
             plugin.settings_tab.post_set_up()