code: def add_dep(self, ):
          
          i = self.dep_tablev.currentIndex()
          item = i.internalPointer()
          if item:
              dep = item.internal_data()
              dep.projects.add(self._project)
              self.deps.append(dep)
              item.set_parent(None)
docs: Add a dep and store it in the self.deps
  
          :returns: None
          :rtype: None
          :raises: None