def clearParameters(self):
        """Removes all parameters from model"""
        self.beginRemoveRows(QtCore.QModelIndex(), 0, self.rowCount())
        self.model.clear_parameters()
        self.endRemoveRows()
Removes all parameters from model