code: def create_atype(self, projects):
          
          dialog = AtypeCreatorDialog(projects=projects, parent=self)
          dialog.exec_()
          atype = dialog.atype
          return atype
docs: Create and return a new atype
  
          :param projects: the projects for the atype
          :type projects: :class:`jukeboxcore.djadapter.models.Project`
          :returns: The created atype or None
          :rtype: None | :class:`jukeboxcore.djadapter.models.Atype`
          :raises: None