In my opinion, the proper way to implement this feature would be to include the string in the XML. I mean that inside <parameters> block, those fields to be dynamically calculated from others should include the formula as a string. Then, it could be parsed in ComponentDialog in Qucs-S with muparser.