code: def move_to_group(self, items, new_group_id: int):
          
          group = self.rootItem.child(new_group_id)
          for item in items:
              group.appendChild(item)
          self.controller.refresh()
docs: :type items: list of ProtocolTreeItem