code: def append(self, item):
          
          self.beginInsertRows(QtCore.QModelIndex(),
                               self.rowCount(),
                               self.rowCount())
  
          self.items.append(item)
          self.endInsertRows()
docs: Append item to end of model