code: def indexFromItem(self, regItem, col=0):
          
          sourceIndex = self.sourceModel().indexFromItem(regItem, col=col)
          return self.mapFromSource(sourceIndex)
docs: Gets the index (with column=0) for the row that contains the regItem
              If col is negative, it is counted from the end