def __init__(self, master_view, master_controller): self.view = HomeView(master_view) self.items = [] self.parentView = master_view self.parentController = master_controller self.db_manager = DBManager() print()
def __init__(self, master_view, master_controller): self.parentController = master_controller self.parentView = master_view self.view = SourcesView(master_view) self.db_manager = DBManager() self.addController = SourcesAddController(self.view.data_container, self)
def __init__(self, root): self.db_manager = DBManager() self.db_manager.setFactorySource("Mongo") self.mainView = MainView(root) self.mainView.init_view() self.config_upper_panel_btns() self.init_controllers() self.homeController.show_view()
def __init__(self, master_view, master_controller): self.parentView = master_view self.parentController = master_controller self.view = SourceAddView(master_view) self.source = ScrapingSource(None, None) self.db_manager = DBManager()