code: def insertRows(self, position, rows, parent = QtCore.QModelIndex()):
          
          self.beginInsertRows(parent, position, position + rows - 1)
          for i in range(rows):
              self.model.insertRow(position)
              # self._selectionmap[self._paramid].hintRequested.connect(self.hintRequested)
          self.endInsertRows()
          if self.rowCount() == 1:
              self.emptied.emit(False)
          return True
docs: Inserts new parameters and emits an emptied False signal
  
          :param position: row location to insert new parameter
          :type position: int
          :param rows: number of new parameters to insert
          :type rows: int
          :param parent: Required by QAbstractItemModel, can be safely ignored