I'm using QGIS 2.14.0. I have a custom python script that shows a form and then creates some layers from supplied parameters, but I want to save them on running/closing the form, but cannot figure it out (not default parameters, but persistent data from the last dialog).
I saw another kind of similar question and it said in settings/options tick 'reuse last entered attribute values', but this does nothing. I've a feeling it only works for built in forms.
this is the start of my code, can anyone offer a solution to this?
##NameArea=string ##ShowBoundary=boolean ##ShowRoads=boolean ##ShowStructures=boolean from qgis.core import * from qgis.gui import * from qgis.utils import * import processing import os
If the solution is to somehow read/write data to a form I can do this but don't know where to start. I just figured this feature was pretty much a pre-requisite for most forms so has a simple solution.