I'm writing a plugin that interacts with external software (hydrological models).
One of the dialogs has a lot of entries (parameters to pass to the hydrological software).
Once the user has set up all the parameters and the dialog is closed, when the same dialog is re-opened all the previous parameters are gone and the user has to type them again.
What I'd like to achieve is to save all the entries in the dialog so the user knows the old parameters added.
Plugin QGIS2threejs has this functionality but I'm not able to add the code.
And, is it also possible to store the UI parameters (a kind of screenshot) in an external file to that another user can load it and automatically all the fields will be filled?
I saw this answer but I'm not sure I can solve my problem in the same way.