def create_watch_folders_tree_context_menu(self):
    self.watchFoldersTreeWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
    self.watchFoldersTreeWidget.customContextMenuRequested.connect(self.open_menu)
def create_watch_folders_tree_context_menu(self):
    self.watchFoldersTreeWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
    self.watchFoldersTreeWidget.customContextMenuRequested.connect(self.open_menu)