code: def selected_indexes(self, ):
          
          i = self.model().index(self.currentIndex(), 0, self.rootModelIndex())
          return [i]
docs: Return the current index
  
          :returns: the current index in a list
          :rtype: list of QtCore.QModelIndex
          :raises: None