def METHOD_NAME(self, obj):
    """setFields(obj) ... transfers obj's property values to UI"""
    self.setupToolController(obj, self.form.toolController)
    self.form.Xoffset.setText(
        FreeCAD.Units.Quantity(obj.Xoffset.Value, FreeCAD.Units.Length).UserString
    )
    self.form.Yoffset.setText(
        FreeCAD.Units.Quantity(obj.Yoffset.Value, FreeCAD.Units.Length).UserString
    )
    self.form.OutputFileName.setText(obj.OutputFileName)
    self.form.PointCountX.setValue(obj.PointCountX)
    self.form.PointCountY.setValue(obj.PointCountY)