code: def parse_to_type(self,**kwargs):
          
          indexes = self.selectedIndexes()
          if not indexes: return
          for index in indexes:
              self.model().parse_data_type(index, **kwargs)
docs: Parse to a given type