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