'Insert items from range start:end into the grid.'

def __on_rowsInserted(self, parent, start, end):

    item = self.__model.itemForIndex(parent)
    if (item == self.__rootItem):
        for i in range(start, (end + 1)):
            item = self.__rootItem.child(i)
            self._insertItem(i, item)
