code: def remove_line(self, section):
          
          self.beginResetModel()
          self.collection.pop(section)
          self.endResetModel()
docs: Base implementation just pops the item from collection.
          Re-implements to add global behaviour