def __init__(self, project, parent=None):
    super(self.__class__, self).__init__(parent=parent)
    self.project = project
    self.watch_folders_dict = self.get_watch_folders_dict()
    self.watched_items = set()
    env_inst.watch_folders[self.project.get_code()] = self
    self.setupUi(self)
    self.create_ui()
def __init__(self, project, parent=None):
    super(self.__class__, self).__init__(parent=parent)
    self.project = project
    self.watch_folders_dict = self.get_watch_folders_dict()
    self.watched_items = set()
    env_inst.watch_folders[self.project.get_code()] = self
    self.setupUi(self)
    self.create_ui()